More experimentation with make_lvm_mount
This commit is contained in:
parent
08ac08561d
commit
66ca351e2e
@ -31,7 +31,14 @@
|
|||||||
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,user"
|
|
||||||
state: mounted
|
state: mounted
|
||||||
loop: "{{ directories }}"
|
loop: "{{ directories }}"
|
||||||
|
|
||||||
|
- name: Ensure data directories have the right permissions
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ item.name }}"
|
||||||
|
state: directory
|
||||||
|
owner: "{{ item.owner }}"
|
||||||
|
group: "{{ item.group }}"
|
||||||
|
mode: "{{ item.mode }}"
|
||||||
|
loop: "{{ directories }}"
|
Loading…
Reference in New Issue
Block a user