Skip to content

Commit 3d8bcc9

Browse files
committed
oraswdb_manage_patches: mount/umount NFS with orasw_meta role
1 parent e676c04 commit 3d8bcc9

File tree

1 file changed

+11
-3
lines changed
  • roles/oraswdb_manage_patches/tasks

1 file changed

+11
-3
lines changed

roles/oraswdb_manage_patches/tasks/main.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
ansible.builtin.stat: path=/etc/oracle/olr.loc
44
register: olrloc
55

6-
- name: install_home_db | Mount nfs share with installation media
7-
ansible.builtin.mount: src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=mounted
8-
when: install_from_nfs
6+
- name: db_opatch | Mount nfs share with installation media
7+
ansible.builtin.include_role:
8+
name: orasw_meta
9+
tasks_from: mount_stage_remote
910
tags:
1011
- nfsmountdb
1112

@@ -29,3 +30,10 @@
2930
loop_var: dbh
3031
when: db_homes_installed is defined and dbh.state == 'present' and dbh.apply_patches |default (False) and apply_patches_db
3132
tags: autopatch
33+
34+
- name: db_opatch | Unmount nfs share with installation media
35+
ansible.builtin.include_role:
36+
name: orasw_meta
37+
tasks_from: umount_stage_remote
38+
tags:
39+
- nfsumountdb

0 commit comments

Comments
 (0)