base: Better check for physical hosts

This commit is contained in:
Timo Makinen 2022-08-13 17:35:07 +00:00
parent b1036de33d
commit b7d52607d8

View file

@ -61,5 +61,5 @@
loop_control: loop_control:
loop_var: role loop_var: role
when: when:
- ansible_virtualization_role != "guest" - ansible_virtualization_role == "host"
- ansible_virtualization_type != "vmm" - ansible_virtualization_type != "vmm"