diff --git a/tasks/main.yml b/tasks/main.yml index b6af909..655d9ae 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,8 +20,8 @@ - name: Create hypervisor items ansible.builtin.import_tasks: hypervisor.yml when: - - "'qemu-system-x86' in ansible_facts.packages" - "inventory_hostname not in groups.storage_boxes" + - "'qemu-system-x86' in ansible_facts.packages" tags: - hypervisor - server