Skip to content

Commit 2492252

Browse files
Jayesh-Kumar3Jayesh-Kumar3
authored andcommitted
Client mount point change
Signed-off-by: Jayesh-Kumar3 <[email protected]>
1 parent b3bb982 commit 2492252

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)