X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Fgnocci0%2Fmain.yml;h=623ef3c8cfe92027e6432d27c978c8c475e9bcef;hb=4a649ea0ae12b38a5ef352b0dba174887d5330a4;hp=21e708c203272c9e61e927fedab71bee423766ff;hpb=60e83c4c6c86c727b96cf5a6135a6bb227535333;p=noc.git diff --git a/ansible/host_vars/gnocci0/main.yml b/ansible/host_vars/gnocci0/main.yml index 21e708c..623ef3c 100644 --- a/ansible/host_vars/gnocci0/main.yml +++ b/ansible/host_vars/gnocci0/main.yml @@ -1,13 +1,12 @@ --- network: - nameservers: - - 10.12.0.10 + nameservers: "{{ net.mgmt.dns }}" domain: realraum.at primary: interface: enp1s0 - ip: 192.168.32.250 - mask: 255.255.255.0 - gateway: 192.168.32.254 + ip: "{{ net.mgmt.prefix | ipaddr(250) | ipaddr('address') }}" + mask: "{{ net.mgmt.prefix | ipaddr('netmask') }}" + gateway: "{{ net.mgmt.gw }}" install: disks: