Fixing an issue with make_lvm_mount that causes mounts to not have the right permissions after setting up the mount
This commit is contained in:
parent
d841524c59
commit
8929965866
@ -31,6 +31,7 @@
|
|||||||
path: "{{ item.name }}"
|
path: "{{ item.name }}"
|
||||||
src: "/dev/mapper/{{ vg_name }}-{{ item.lv }}"
|
src: "/dev/mapper/{{ vg_name }}-{{ item.lv }}"
|
||||||
fstype: xfs
|
fstype: xfs
|
||||||
|
opts: "defaults,uid={{ item.owner }},gid={{ item.group }},dir_mode={{ item.mode }}"
|
||||||
state: mounted
|
state: mounted
|
||||||
loop: "{{ directories }}"
|
loop: "{{ directories }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user