Skip to content

Commit c8d17d4

Browse files
committed
oraswgi_install: mount/umount NFS with orasw_meta role
1 parent bc611ce commit c8d17d4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

roles/oraswgi_install/tasks/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
- patch_before_rootsh
2121

2222
- name: install_home_gi | Mount nfs share with installation media
23-
ansible.builtin.mount: src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=mounted
23+
ansible.builtin.include_role:
24+
name: orasw_meta
25+
tasks_from: mount_stage_remote
2426
tags:
25-
- nfsmountgi
26-
when: install_from_nfs
27+
- nfsmountdb
2728

2829
- name: install_home_gi | Add new dotprofile (GI)
2930
ansible.builtin.template:
@@ -156,6 +157,8 @@
156157
- olsnodes
157158

158159
- name: install_home_gi | Unmount nfs share with installation media
159-
ansible.builtin.mount: src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=absent
160-
when: install_from_nfs
161-
tags: nfsunmountgi
160+
ansible.builtin.include_role:
161+
name: orasw_meta
162+
tasks_from: umount_stage_remote
163+
tags:
164+
- nfsumountdb

0 commit comments

Comments
 (0)