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/orahost_meta_gi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "orahost_meta: Added default for oracle_install_option_gi to limit dependency to other roles (oravirt#467)"
2 changes: 1 addition & 1 deletion roles/orahost_meta/tasks/assert_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
block:
- name: assert orasw_meta_cluster_hostgroup (GI enabled)
when:
- oracle_install_option_gi == 'CRS_CONFIG'
- oracle_install_option_gi | default('') == 'CRS_CONFIG'
block:
- name: assert orasw_meta_cluster_hostgroup
ansible.builtin.assert:
Expand Down
4 changes: 2 additions & 2 deletions roles/orahost_meta/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
ansible.builtin.set_fact:
_orasw_meta_primary_node: true
when:
- oracle_install_option_gi != 'CRS_CONFIG'
- oracle_install_option_gi | default('') != 'CRS_CONFIG'

# RAC:
# 1st Node:
Expand All @@ -20,7 +20,7 @@
ansible.builtin.set_fact:
_orasw_meta_primary_node: "{{ groups[orasw_meta_cluster_hostgroup][0] == inventory_hostname }}"
when:
- oracle_install_option_gi == 'CRS_CONFIG'
- oracle_install_option_gi | default('') == 'CRS_CONFIG'

### Determine kernel.panic according to Doc ID 2821641.1
# kdump state cannot savely be retrieved from service_facts
Expand Down