Skip to content

Commit 174132c

Browse files
committed
'Hide' the oracle_install_option_gi variable. It is set accordingly based on whether or not a cluster is being configured
1 parent 55043af commit 174132c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/oraswgi-install/defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
asmmonitorpassword: "{% if oracle_password is defined %}{{ oracle_password }}{% else %}Oracle123{% endif%}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
5050
# DB
5151
default_dbpass: "{% if item.0.oracle_db_passwd is defined %}{{ item.0.oracle_db_passwd}}{% else %}Oracle123{% endif%}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
52-
52+
5353
#oracle_password: Oracle123 # Password used for all Grid Infrastructure related resources (e.g ASM)
5454
oracle_scan: your.scan.address # Scan address for Clustered Grid Infrastructure
5555
oracle_vip: -vip # Suffix for the host VIP-addresses (e.g orarac01-vip)
@@ -68,7 +68,7 @@
6868
run_configtoolallcommand: true
6969
oracle_cluster_mgmdb: true
7070
oracle_gi_cluster_type: STANDARD # STANDARD | FLEX | STANDALONE (12.2 specific)
71-
oracle_install_option_gi: HA_CONFIG
71+
oracle_install_option_gi: "{% if configure_cluster %}CRS_CONFIG{% else %}HA_CONFIG{% endif %}"
7272
oracle_install_version_gi: 12.1.0.2
7373
#oracle_asm_storage_option: LOCAL_ASM_STORAGE # LOCAL_ASM_STORAGE | FLEX_ASM_STORAGE
7474
oracle_asm_storage_option: "{% if '12.2' in oracle_install_version_gi %}FLEX_ASM_STORAGE{% else %}LOCAL_ASM_STORAGE{% endif %}"

0 commit comments

Comments
 (0)