1
0
IaC/ansible/roles/hypervisor_qcow/tasks/libvirt_dir.yaml

8 lines
221 B
YAML
Raw Normal View History

2023-08-10 09:32:17 -04:00
---
- 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