new file: roles/host_maintenance/README.md
image-deploy.yaml / build-push-image (push) Successful in 47s
image-deploy.yaml / build-push-image (push) Successful in 47s
modified: roles/host_maintenance/tasks/systemd_mount.yaml modified: roles/host_maintenance/templates/systemd_mount.j2
This commit is contained in:
1 parent
c187d56137
commit
4a8ce0e3bd
3 files changed
+42
-5
No files matched your search
@@ -1,7 +1,11 @@
|
||||
#vars:
|
||||
# host_maintenance_systemd_mount_target: ""
|
||||
# host_maintenance_systemd_mount_source: ""
|
||||
- ansible.builtin.assert:
|
||||
that:
|
||||
- item.source is defined
|
||||
- item.target is defined
|
||||
- item.mount_type is defined
|
||||
fail_msg: "All of source, target, and mount_type must be defined for each disk entry."
|
||||
|
||||
loop: "{{ host_maintenance_disk_mounts }}"
|
||||
- name: check target folders
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.target }}"
|
||||
|
||||
Reference in new issue
Block a user