Skip to content
Snippets Groups Projects
Commit b0403a5f authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

fix: Mount dirs besides adding them to fstab

Otherwise, since we run this role in deploy the dirs won't be mounted
and cause unexpected behavior of applications.
parent 4e59b3fa
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@
loop:
"{{ mount_points }}"
- name: Make an entry in the fstab
- name: Mount the directories
ansible.posix.mount:
src: "master:{{ item }}"
path: "{{ item }}"
opts: rw,sync,hard
state: present
state: mounted
fstype: nfs
loop:
"{{ mount_points }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment