Create temp group within task
This commit is contained in:
parent
d1e95c0117
commit
29d6a488cd
2 changed files with 4 additions and 5 deletions
|
@ -26,6 +26,10 @@
|
|||
ansible.builtin.set_fact:
|
||||
qemu_pool: "{{ command_out.stdout }}"
|
||||
|
||||
- name: Create 'virt_kvm_host' group
|
||||
ansible.builtin.group_by:
|
||||
key: virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }}
|
||||
|
||||
- name: "Hypervisor | Write hypervisor startpage"
|
||||
ansible.builtin.template:
|
||||
src: hypervisor.txt.j2
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
manager: auto
|
||||
tags: facts
|
||||
|
||||
- name: Create 'virt_kvm_host' group
|
||||
ansible.builtin.group_by:
|
||||
key: virt_{{ ansible_virtualization_type }}_{{ ansible_virtualization_role }}
|
||||
tags: facts
|
||||
|
||||
- name: Create hypervisor items
|
||||
ansible.builtin.import_tasks: hypervisor.yml
|
||||
when: "'qemu-system-x86' in ansible_facts.packages"
|
||||
|
|
Loading…
Reference in a new issue