blob: 21f5c8a188a2055b2a40f46f9e2ba5f329601609 [file] [log] [blame]
Andy Baviera17d84b2016-11-16 09:39:26 -08001[localhost]
2127.0.0.1 hostname={{ ansible_fqdn }}
3
4# VMs will go away shortly in favor of containers
5[vms]
Zack Williams44845c62017-04-21 13:57:14 -07006{% if head_vm_list is defined -%}
Andy Baviera17d84b2016-11-16 09:39:26 -08007{% for vm in head_vm_list -%}
8{{ vm.name }}
9{% endfor -%}
Zack Williams44845c62017-04-21 13:57:14 -070010{% endif -%}
Andy Baviera17d84b2016-11-16 09:39:26 -080011
12[containers]
Zack Williams44845c62017-04-21 13:57:14 -070013{% if head_lxd_list is defined -%}
Andy Baviera17d84b2016-11-16 09:39:26 -080014{% for lxd in head_lxd_list -%}
15{{ lxd.name }}
16{% endfor -%}
Zack Williams44845c62017-04-21 13:57:14 -070017{% endif -%}
Andy Baviera17d84b2016-11-16 09:39:26 -080018
19[services:children]
20vms
21containers
22
23[docker]
Zack Williams44845c62017-04-21 13:57:14 -070024{% if head_vm_list is defined -%}
Andy Baviera17d84b2016-11-16 09:39:26 -080025{% for vm in head_vm_list | selectattr('docker_path', 'defined') -%}
26{{ vm.name }}
27{% endfor -%}
Zack Williams44845c62017-04-21 13:57:14 -070028{% endif -%}
29