Add incus server prep ansible stack

This commit is contained in:
Marty Oehme 2025-02-14 19:46:01 +01:00 committed by Marty Oehme
parent 6b96d0032a
commit 9e94dfbc52
6 changed files with 382 additions and 0 deletions

View 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 %}