From: Christian Pointner Date: Sat, 7 Jul 2018 22:50:50 +0000 (+0200) Subject: updated vm install configs after redoing network ranges X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=90594dc919031ce2c90c05de011f5a8ef156b9dd;p=noc.git updated vm install configs after redoing network ranges --- diff --git a/ansible/host_vars/alfred/main.yml b/ansible/host_vars/alfred/main.yml index d01341b..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.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: testvm: 99 diff --git a/ansible/host_vars/testvm/main.yml b/ansible/host_vars/testvm/main.yml index 0709a22..80a95ad 100644 --- a/ansible/host_vars/testvm/main.yml +++ b/ansible/host_vars/testvm/main.yml @@ -17,8 +17,8 @@ vm_install: interfaces: - bridge: "{{ hostvars[vm_install_host].vm_host.network.interface }}" name: mgmt0 - - bridge: "br-http" - name: http0 + - bridge: "br-svc" + name: svc0 autostart: True vm_network: