Skip to content

Commit 37fdd95

Browse files
authored
Merge pull request #797 from jayeshh123/jay_clt_mnt
Changes related to file system mount path
2 parents b3bb982 + 2492252 commit 37fdd95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/nfs_client_configure/tasks/nfs_client_configure.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
when: item.stdout_lines == []
4646

4747
- name: Mount NFS filesets
48-
shell: "mount -t nfs -o sec=sys {{ protocol_cluster_reserved_names }}:/gpfs/fs1/{{ item.0.name }} {{ item.1.item.mount_path }} -vv"
48+
shell: "mount -t nfs -o sec=sys {{ protocol_cluster_reserved_names }}:{{ storage_cluster_filesystem_mountpoint }}/{{ item.0.name }} {{ item.1.item.mount_path }} -vv"
4949
register: mounted_filesets
5050
with_together:
5151
- "{{ filesets }}"
@@ -55,7 +55,7 @@
5555
- name: Add an entry to fstab for permanent mount
5656
ansible.builtin.lineinfile:
5757
path: /etc/fstab
58-
line: "{{ protocol_cluster_reserved_names }}:/gpfs/fs1/{{ item.0.name }} {{ item.1.item.mount_path }} nfs4 rw,sec=sys,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,_netdev 0 0"
58+
line: "{{ protocol_cluster_reserved_names }}:{{ storage_cluster_filesystem_mountpoint }}/{{ item.0.name }} {{ item.1.item.mount_path }} nfs4 rw,sec=sys,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,_netdev 0 0"
5959
insertafter: EOF
6060
with_together:
6161
- "{{ filesets }}"

0 commit comments

Comments
 (0)