Skip to content

Commit 3727f5e

Browse files
Thilo SolbrigRendanic
authored andcommitted
fix for issue#530
1 parent db3abc8 commit 3727f5e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "oraswgi_manage_patches: roothas_prepatch.yml and roothas_postpatch.yml check wrong directory to determine if GI is locked/unlocked (oravirt#530)"

roles/oraswgi_manage_patches/tasks/roothas_postpatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
- name: roothas_postpatch | Get owner of ORACLE_HOME/bin
2+
- name: roothas_postpatch | Get owner of ORACLE_HOME
33
ansible.builtin.stat:
4-
path: "{{ oracle_home_gi }}/bin"
4+
path: "{{ oracle_home_gi }}"
55
become: true
66
become_user: "{{ _grid_install_user }}"
77
register: oraclehomegi_stat

roles/oraswgi_manage_patches/tasks/roothas_prepatch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
- name: roothas_postpatch | Get owner of ORACLE_HOME/bin
2+
- name: roothas_prepatch | Get owner of ORACLE_HOME
33
ansible.builtin.stat:
4-
path: "{{ oracle_home_gi }}/bin"
4+
path: "{{ oracle_home_gi }}"
55
become: true
66
become_user: "{{ _grid_install_user }}"
77
register: oraclehomegi_stat
@@ -22,7 +22,7 @@
2222
ansible.builtin.debug:
2323
var: roothasprepatchres.stdout_lines
2424

25-
- name: roothas_postpatch | Check for running Stack # noqa no-changed-when
25+
- name: roothas_prepatch | Check for running Stack # noqa no-changed-when
2626
ansible.builtin.command: >-
2727
{{ oracle_home_gi }}/bin/crsctl
2828
check

0 commit comments

Comments
 (0)