Merge PR#17: add accesspoints playbook
[noc.git] / ansible / host_vars / gnocci1 / main.yml
index 8a8e1a3..537e7d5 100644 (file)
@@ -1,15 +1,12 @@
 ---
-root_password: "{{ vault_root_password }}"
-
 network:
-  nameservers:
-    - 10.12.0.10
+  nameservers: "{{ net.mgmt.dns }}"
   domain: realraum.at
   primary:
     interface: enp1s0
-    ip: 192.168.32.251
-    mask: 255.255.255.0
-    gateway: 192.168.32.254
+    ip: "{{ net.mgmt.prefix | ipaddr(251) | ipaddr('address') }}"
+    mask: "{{ net.mgmt.prefix | ipaddr('netmask') }}"
+    gateway: "{{ net.mgmt.gw }}"
 
 install:
   disks: