base: Better check for physical hosts
This commit is contained in:
parent
b1036de33d
commit
b7d52607d8
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue