ctf: Move host vars from inventory to host_vars/ & document them
[noc.git] / ansible / hosts.ini
index 519fe6a..26bb727 100644 (file)
@@ -2,19 +2,26 @@
 host_domain=realraum.at
 ansible_host={{ inventory_hostname }}.{{ host_domain }}
 ansible_user=root
+ansible_port=22000
+
 
 [net-zone-mgmt]
-#torwaechter
+torwaechter
 alfred
 calendar
 galley
 hacksch
 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
 
@@ -22,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
@@ -36,22 +52,35 @@ 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
+
 
 #[alix]
 #gw
 #torwaechter
 
-#[apu]
-#gnocchi1
-#gnocchi2
+[apu]
+gnocchi[0:1]