updated vm install configs after redoing network ranges
authorChristian Pointner <equinox@realraum.at>
Sat, 7 Jul 2018 22:50:50 +0000 (00:50 +0200)
committerChristian Pointner <equinox@realraum.at>
Sat, 7 Jul 2018 22:50:50 +0000 (00:50 +0200)
ansible/host_vars/alfred/main.yml
ansible/host_vars/testvm/main.yml

index d01341b..5c0682a 100644 (file)
@@ -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
index 0709a22..80a95ad 100644 (file)
@@ -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: