1
0

8 lines
221 B
YAML

---
- name: Format and mount the libvirt disk if it is not root
when: hypervisor.device not in (ansible_mounts | json_query('[?mount == `/`].device'))
ansible.builtin.include_tasks:
file: libvirt_mount.yaml