Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 1 | [localhost] |
| 2 | 127.0.0.1 hostname={{ ansible_fqdn }} |
| 3 | |
| 4 | # VMs will go away shortly in favor of containers |
| 5 | [vms] |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 6 | {% if head_vm_list is defined -%} |
Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 7 | {% for vm in head_vm_list -%} |
| 8 | {{ vm.name }} |
| 9 | {% endfor -%} |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 10 | {% endif -%} |
Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 11 | |
| 12 | [containers] |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 13 | {% if head_lxd_list is defined -%} |
Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 14 | {% for lxd in head_lxd_list -%} |
| 15 | {{ lxd.name }} |
| 16 | {% endfor -%} |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 17 | {% endif -%} |
Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 18 | |
| 19 | [services:children] |
| 20 | vms |
| 21 | containers |
| 22 | |
| 23 | [docker] |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 24 | {% if head_vm_list is defined -%} |
Andy Bavier | a17d84b | 2016-11-16 09:39:26 -0800 | [diff] [blame] | 25 | {% for vm in head_vm_list | selectattr('docker_path', 'defined') -%} |
| 26 | {{ vm.name }} |
| 27 | {% endfor -%} |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 28 | {% endif -%} |
| 29 | |