mirror of
https://github.com/Rudd-O/ansible-qubes.git
synced 2025-06-06 18:08:31 +02:00
Update qubesformation.py
This commit is contained in:
parent
feff9f41a7
commit
45cd87d984
@ -21,11 +21,8 @@ def generate_datastructure(vms, task_vars):
|
||||
# This block will skip any VMs that are not in the groups defined in the 'formation_vm_groups' variable
|
||||
# This allows you to deploy in multiple stages which is useful in cases
|
||||
# where you want to create a template after another template is already provisioned.
|
||||
print(task_vars.ansible_facts)
|
||||
print("hostvars")
|
||||
print(task_vars['hostvars'][n])
|
||||
print("formation")
|
||||
print(task_vars.ansible_facts['formation_vm_groups'])
|
||||
print("testy")
|
||||
print(task_vars['hostvars'][n]['formation_vm_groups'])
|
||||
if hasattr(task_vars.ansible_facts, 'formation_vm_groups'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user