X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Falfred%2Fmain.yml;h=5c0682a6e4bda11a3b7448798287adb77dacd7e8;hb=cbced90493f4c0de1588213b3d5d20454c40efb7;hp=b6b9b0cb7e1e73269755456f1f15c3cda8f81603;hpb=b13acb3e4bef791b2196590a61b27bfb7f606ea6;p=noc.git diff --git a/ansible/host_vars/alfred/main.yml b/ansible/host_vars/alfred/main.yml index b6b9b0c..5c0682a 100644 --- a/ansible/host_vars/alfred/main.yml +++ b/ansible/host_vars/alfred/main.yml @@ -17,11 +17,9 @@ vm_host: - i386 network: interface: br-mgmt - ip: 192.168.33.65 - mask: 255.255.255.0 - gateway: 192.168.33.1 - nameservers: - - 192.168.33.1 - - 10.12.0.10 + ip: "{{ net.mgmt.prefix | ipaddr(65) | ipaddr('address') }}" + mask: "{{ net.mgmt.prefix | ipaddr('netmask') }}" + gateway: "{{ net.mgmt.gw }}" + nameservers: "{{ net.mgmt.dns }}" indices: - testvm: 200 + testvm: 99