We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac809d3 + d7413e8 commit 86a94afCopy full SHA for 86a94af
1 file changed
ansible/roles/mounts/tasks/main.yml
@@ -1,7 +1,12 @@
1
- name: Ensure mount directories exist
2
ansible.builtin.file:
3
path: "{{ item.value.path }}"
4
+ state: directory
5
+ owner: root
6
+ group: root
7
+ mode: '0755'
8
loop: "{{ mounts | dict2items }}"
9
+ when: item.value.enabled | default(true)
10
11
- name: Ensure tmp.mount mask status is correct
12
# RL8-specific fix; otherwise rootfs comes up read-only after a reboot!
0 commit comments