sshd setup
This commit is contained in:
@ -1,12 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Format and mount the libvirt disk if it is not root
|
||||
when:
|
||||
- hypervisor.device not in (ansible_mounts | json_query('[?mount == `/`].device'))
|
||||
- hypervisor.device not in (ansible_mounts | json_query('[?mount == `/var/lib/libvirt`].device'))
|
||||
ansible.builtin.include_tasks:
|
||||
file: libvirt_dir_mount.yaml
|
||||
|
||||
- name: Create the libvirt storage directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
|
Reference in New Issue
Block a user