ansible-role-system/defaults/main.yml
Denis Knauf 3beb52ad22 init
2021-04-10 22:11:19 +02:00

3 lines
254 B
YAML

has_hwrng: '{{ansible_virtualization_role != "guest" and ansible_local.devices.hwrng }}'
is_virt_guest: '{{ansible_virtualization_role == "guest"}}'
is_container: '{{ansible_virtualization_role == "guest" and ansible_virtualization_type == "lxc"}}'