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
2 merge requests!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.,!114Mount dirs besides adding them to fstab
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
loop: loop:
"{{ mount_points }}" "{{ mount_points }}"
- name: Make an entry in the fstab - name: Mount the directories
ansible.posix.mount: ansible.posix.mount:
src: "master:{{ item }}" src: "master:{{ item }}"
path: "{{ item }}" path: "{{ item }}"
opts: rw,sync,hard opts: rw,sync,hard
state: present state: mounted
fstype: nfs fstype: nfs
loop: loop:
"{{ mount_points }}" "{{ 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