@@ -23,26 +23,26 @@ oracle_dbf_dir_fs: /u01/oradata/ # If storage_typ
2323oracle_reco_dir_fs : /u01/fra/ # If storage_type=FS this is where the fast recovery area is placed.
2424oracle_dbf_dir_asm : ' +DATA' # If storage_type=ASM this is where the database is placed.
2525oracle_reco_dir_asm : ' +FRA' # If storage_type=ASM this is where the fast recovery area is placed
26- datafile_dest : " {% if dbh.storage_type | upper == 'FS' %}{{ oracle_dbf_dir_fs }}
27- {%- elif dbh.storage_type | upper == 'ASM' %}{{ oracle_dbf_dir_asm }}
26+ datafile_dest : " {% if dbh.storage_type | upper == 'FS' %}{{ oracle_dbf_dir_fs }}\
27+ {%- elif dbh.storage_type | upper == 'ASM' %}{{ oracle_dbf_dir_asm }}\
2828 {%- endif %}"
29- recoveryfile_dest : " {% if dbh.storage_type | upper == 'FS' %}{{ oracle_reco_dir_fs }}
30- {%- elif dbh.storage_type | upper == 'ASM' %}{{ oracle_reco_dir_asm }}
29+ recoveryfile_dest : " {% if dbh.storage_type | upper == 'FS' %}{{ oracle_reco_dir_fs }}\
30+ {%- elif dbh.storage_type | upper == 'ASM' %}{{ oracle_reco_dir_asm }}\
3131 {%- endif %}"
3232
3333configure_cluster : false
3434# oracle_install_option_gi: "none"
3535oracle_gi_cluster_type : STANDARD
3636hostgroup_hub : " {{ hostgroup }}-hub"
3737hostgroup_leaf : " {{ hostgroup }}-leaf"
38- create_listener : " {%- if oracle_install_option_gi is defined -%}
39- False
40- {%- elif oracle_install_option_gi is undefined -%}
41- {%- if dbh is defined and dbh.listener_name is defined -%}
42- True
43- {%- else -%}
44- False
45- {%- endif -%}
38+ create_listener : " {%- if oracle_install_option_gi is defined -%}\
39+ False\
40+ {%- elif oracle_install_option_gi is undefined -%}\
41+ {%- if dbh is defined and dbh.listener_name is defined -%}\
42+ True\
43+ {%- else -%}\
44+ False\
45+ {%- endif -%}\
4646 {%- endif -%}"
4747
4848listener_name_template : " {% if dbh is defined and dbh.listener_name is defined %}{{ dbh.listener_name }}{% else %}{{ listener_name }}{% endif %}"
@@ -52,18 +52,18 @@ listener_name: LISTENER
5252listener_protocols : TCP
5353listener_port : 1521
5454
55- listener_home : " {%- if lsnrinst is defined -%}
56- {%- if db_homes_config[lsnrinst.home]['oracle_home'] is defined -%}{{ db_homes_config[lsnrinst.home]['oracle_home'] }}
57- {%- else -%}{{ oracle_base }}/{{ db_homes_config[lsnrinst.home]['version'] }}/{{ db_homes_config[lsnrinst.home]['home'] }}
58- {%- endif -%}
59- {%- elif tnsinst is defined -%}
60- {%- if db_homes_config[tnsinst.home]['oracle_home'] is defined -%}{{ db_homes_config[tnsinst.home]['oracle_home'] }}
61- {%- else -%}{{ oracle_base }}/{{ db_homes_config[tnsinst.home]['version'] }}/{{ db_homes_config[tnsinst.home]['home'] }}
62- {%- endif -%}
63- {%- elif sqlnetinst is defined -%}
64- {%- if db_homes_config[sqlnetinst.home]['oracle_home'] is defined -%}{{ db_homes_config[sqlnetinst.home]['oracle_home'] }}
65- {%- else -%}{{ oracle_base }}/{{ db_homes_config[sqlnetinst.home]['version'] }}/{{ db_homes_config[sqlnetinst.home]['home'] }}
66- {%- endif -%}
55+ listener_home : " {%- if lsnrinst is defined -%}\
56+ {%- if db_homes_config[lsnrinst.home]['oracle_home'] is defined -%}{{ db_homes_config[lsnrinst.home]['oracle_home'] }}\
57+ {%- else -%}{{ oracle_base }}/{{ db_homes_config[lsnrinst.home]['version'] }}/{{ db_homes_config[lsnrinst.home]['home'] }}\
58+ {%- endif -%}\
59+ {%- elif tnsinst is defined -%}\
60+ {%- if db_homes_config[tnsinst.home]['oracle_home'] is defined -%}{{ db_homes_config[tnsinst.home]['oracle_home'] }}\
61+ {%- else -%}{{ oracle_base }}/{{ db_homes_config[tnsinst.home]['version'] }}/{{ db_homes_config[tnsinst.home]['home'] }}\
62+ {%- endif -%}\
63+ {%- elif sqlnetinst is defined -%}\
64+ {%- if db_homes_config[sqlnetinst.home]['oracle_home'] is defined -%}{{ db_homes_config[sqlnetinst.home]['oracle_home'] }}\
65+ {%- else -%}{{ oracle_base }}/{{ db_homes_config[sqlnetinst.home]['version'] }}/{{ db_homes_config[sqlnetinst.home]['home'] }}\
66+ {%- endif -%}\
6767 {%- endif -%}"
6868
6969oracle_env_lsnrctl :
@@ -81,34 +81,34 @@ autostartup_service: false
8181
8282# # START-OF-PASSWORDS
8383# GI
84- default_gipass : " {% if oracle_password is defined %}{{ oracle_password }}
85- {%- else %}Oracle123{% endif%}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
86- sysasmpassword : " {% if oracle_password is defined %}{{ oracle_password }}
87- {%- else %}Oracle123{% endif%}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
88- asmmonitorpassword : " {% if oracle_password is defined %}{{ oracle_password }}
89- {%- else %}Oracle123
84+ default_gipass : " {% if oracle_password is defined %}{{ oracle_password }}\
85+ {%- else %}Oracle123{% endif %}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
86+ sysasmpassword : " {% if oracle_password is defined %}{{ oracle_password }}\
87+ {%- else %}Oracle123{% endif %}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
88+ asmmonitorpassword : " {% if oracle_password is defined %}{{ oracle_password }}\
89+ {%- else %}Oracle123\
9090 {%- endif %}" # The check for the old passwords are there for backwards compatibility and only temporary, will be removed
9191
9292dbca_templatename : General_Purpose.dbc
93- dbca_sys_pass : " {% if dbpasswords[dbh.oracle_db_name] is defined %}
94- {%- if dbpasswords[dbh.oracle_db_name]['sys'] is defined %}{{ dbpasswords[dbh.oracle_db_name]['sys'] }}
95- {%- else %}{{ default_dbpass }}
96- {%- endif %}
97- {%- else %}{{ default_dbpass }}
93+ dbca_sys_pass : " {% if dbpasswords[dbh.oracle_db_name] is defined %}\
94+ {%- if dbpasswords[dbh.oracle_db_name]['sys'] is defined %}{{ dbpasswords[dbh.oracle_db_name]['sys'] }}\
95+ {%- else %}{{ default_dbpass }}\
96+ {%- endif %}\
97+ {%- else %}{{ default_dbpass }}\
9898 {%- endif %}"
99- dbca_system_pass : " {% if dbpasswords[dbh.oracle_db_name] is defined %}
100- {%- if dbpasswords[dbh.oracle_db_name]['system'] is defined %}{{ dbpasswords[dbh.oracle_db_name]['system'] }}
101- {%- else %}{{ default_dbpass }}
102- {%- endif %}
103- {%- else %}{{ default_dbpass }}
99+ dbca_system_pass : " {% if dbpasswords[dbh.oracle_db_name] is defined %}\
100+ {%- if dbpasswords[dbh.oracle_db_name]['system'] is defined %}{{ dbpasswords[dbh.oracle_db_name]['system'] }}\
101+ {%- else %}{{ default_dbpass }}\
102+ {%- endif %}\
103+ {%- else %}{{ default_dbpass }}\
104104 {%- endif %}"
105105
106- init_params_list : " {%- if dbh.init_parameters is defined -%}
107- {%- for p in dbh.init_parameters -%}
108- {%- if p.dbca | default(True) -%}
109- {{ p.name }}={{ p.value }}{%- if not loop.last -%},{%- endif -%}
110- {%- endif -%}
111- {%- endfor -%}
106+ init_params_list : " {%- if dbh.init_parameters is defined -%}\
107+ {%- for p in dbh.init_parameters -%}\
108+ {%- if p.dbca | default(True) -%}\
109+ {{ p.name }}={{ p.value }}{%- if not loop.last -%},{%- endif -%}\
110+ {%- endif -%}\
111+ {%- endfor -%}\
112112 {%- endif -%}"
113113
114114shell_ps1 : " '[$LOGNAME'@'$ORACLE_SID `basename $PWD`]$'"
0 commit comments