X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Falfred%2Fmain.yml;h=ed73d0cb015e25a4419a508def9ef6adaf9bc033;hb=726c46394e2b7496c26fae551b05bda7ba1b57c2;hp=b6b9b0cb7e1e73269755456f1f15c3cda8f81603;hpb=cada7766cb94b291b214784fa717f874db922d57;p=noc.git diff --git a/ansible/host_vars/alfred/main.yml b/ansible/host_vars/alfred/main.yml index b6b9b0c..ed73d0c 100644 --- a/ansible/host_vars/alfred/main.yml +++ b/ansible/host_vars/alfred/main.yml @@ -2,26 +2,12 @@ vm_host: installer: net_if: br-mgmt - preseed_path: /srv/preseed - path: /srv/installer - distros: - - distro: debian - codename: stretch - arch: - - amd64 - - i386 - - distro: ubuntu - codename: xenial - arch: - - amd64 - - 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 + metrics: 74 + testvm: 99