ctf: Move host vars from inventory to host_vars/ & document them
[noc.git] / ansible / hosts.ini
index dcba449..26bb727 100644 (file)
@@ -2,6 +2,8 @@
 host_domain=realraum.at
 ansible_host={{ inventory_hostname }}.{{ host_domain }}
 ansible_user=root
+ansible_port=22000
+
 
 [net-zone-mgmt]
 torwaechter
@@ -9,10 +11,16 @@ alfred
 calendar
 galley
 hacksch
-## TODO: remove the variable once https://github.com/ansible/ansible/issues/39119 is fixed
-metrics localconfig_ssh_config_user=root
 r3home
 tickets
+gnocchi[0:1]
+
+## TODO: remove the variable once https://github.com/ansible/ansible/issues/39119 is fixed
+metrics localconfig_ssh_config_user=root
+testvm localconfig_ssh_config_user=root
+
+[net-zone-mgmt:children]
+accesspoints
 
 [net-zone-mgmt:vars]
 host_domain=mgmt.realraum.at
@@ -21,11 +29,20 @@ host_domain=mgmt.realraum.at
 
 [baremetalservers]
 alfred
+gnocchi[0:1]
 
 [kvmhosts]
 alfred
+gnocchi[0:1]
+
 
 [virtualservers]
+vex vm_install_host=mur.at
+
+[virtualservers:children]
+virtualservers-alfred
+
+[virtualservers-alfred]
 athsdisc
 calendar
 ctf
@@ -35,20 +52,28 @@ hacksch
 metrics
 r3home
 tickets
-vex
+testvm
+
+[virtualservers-alfred:vars]
+vm_install_host = alfred
+
 
 [servers:children]
 baremetalservers
 virtualservers
 
-
 [desktops]
 wuerfel
 
+[accesspoints]
+ap[0:2]
 
 [openwrt]
 torwaechter
 
+[openwrt:children]
+accesspoints
+
 [openwrt:vars]
 localconfig_ssh_config_user=root
 
@@ -57,7 +82,5 @@ localconfig_ssh_config_user=root
 #gw
 #torwaechter
 
-#[apu]
-#gnocchi1
-#gnocchi2
-
+[apu]
+gnocchi[0:1]