Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/gi_locked_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oraswgi_manage_patches: roothas_prepatch.yml and roothas_postpatch.yml check wrong directory to determine if GI is locked/unlocked (oravirt#530)"
4 changes: 2 additions & 2 deletions roles/oraswgi_manage_patches/tasks/roothas_postpatch.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: roothas_postpatch | Get owner of ORACLE_HOME/bin
- name: roothas_postpatch | Get owner of ORACLE_HOME
ansible.builtin.stat:
path: "{{ oracle_home_gi }}/bin"
path: "{{ oracle_home_gi }}"
become: true
become_user: "{{ _grid_install_user }}"
register: oraclehomegi_stat
Expand Down
6 changes: 3 additions & 3 deletions roles/oraswgi_manage_patches/tasks/roothas_prepatch.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: roothas_postpatch | Get owner of ORACLE_HOME/bin
- name: roothas_prepatch | Get owner of ORACLE_HOME
ansible.builtin.stat:
path: "{{ oracle_home_gi }}/bin"
path: "{{ oracle_home_gi }}"
become: true
become_user: "{{ _grid_install_user }}"
register: oraclehomegi_stat
Expand All @@ -22,7 +22,7 @@
ansible.builtin.debug:
var: roothasprepatchres.stdout_lines

- name: roothas_postpatch | Check for running Stack # noqa no-changed-when
- name: roothas_prepatch | Check for running Stack # noqa no-changed-when
ansible.builtin.command: >-
{{ oracle_home_gi }}/bin/crsctl
check
Expand Down
Loading