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
@@ -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 }}"
Loading