X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fhost_vars%2Falfred%2Fmain.yml;h=f171f2a78797cc6a1519d2dd0d582f1b088189ce;hb=939f1a6148f2483148a30b1184e154c214c7ce5d;hp=d01341b53c739d214284568139d75b3f2f2b4210;hpb=7447946c42c4884eeac124de0c994e1c53c83015;p=noc.git diff --git a/ansible/host_vars/alfred/main.yml b/ansible/host_vars/alfred/main.yml index d01341b..f171f2a 100644 --- a/ansible/host_vars/alfred/main.yml +++ b/ansible/host_vars/alfred/main.yml @@ -2,26 +2,13 @@ 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.32.65 - mask: 255.255.255.0 - gateway: 192.168.32.254 - nameservers: - - 192.168.32.254 - - 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: + metrics: 74 + deb: 75 testvm: 99