Add incus server prep ansible stack
This commit is contained in:
parent
6b96d0032a
commit
9e94dfbc52
6 changed files with 382 additions and 0 deletions
5
ansible/files/incus.servers.tpl
Normal file
5
ansible/files/incus.servers.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{% for host in vars['ansible_play_hosts'] | sort %}
|
||||
{% if hostvars[host]['incus_name'] == task_name and "cluster" in hostvars[host]['incus_roles'] %}
|
||||
- {{ host }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue