Skip to content
Snippets Groups Projects

Mount dirs besides adding them to fstab

Merged Eesaan Atluri requested to merge atlurie/hpc-factory:fix-loading-mounts into feat-hpc-factory
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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 }}"
Loading