You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oracle_user: oracle # User that will own the Oracle Installations.
7
7
oracle_user_home: "/home/{{ oracle_user }}"# Home directory for oracle_user. Needed for passing in ssh-keys, profiles etc
8
8
oracle_group: oinstall # Primary group for oracle_user.
@@ -52,10 +52,10 @@
52
52
oracle_gi_cluster_type: STANDARD
53
53
hostgroup_hub: "{{ hostgroup }}-hub"
54
54
hostgroup_leaf: "{{ hostgroup }}-leaf"
55
-
create_listener: "{% if oracle_install_option_gi is defined %}False{% elif oracle_install_option_gi is undefined %}{% if item.listener_name is defined %}True{% else %}False{% endif %}{% endif %}"
56
-
listener_name_template: "{% if item.listener_name is defined %}{{ item.listener_name }}{% else %}{{ listener_name }}{% endif %}"
57
-
listener_protocols_template: "{% if item.listener_protocols is defined %}{{ item.listener_protocols }}{% else %}{{ listener_protocols }}{% endif %}"
58
-
listener_port_template: "{% if item.listener_port is defined %}{{ item.listener_port }}{% else %}{{ listener_port }}{% endif %}"
55
+
create_listener: "{% if oracle_install_option_gi is defined %}False{% elif oracle_install_option_gi is undefined %}{% if dbh.listener_name is defined %}True{% else %}False{% endif %}{% endif %}"
56
+
listener_name_template: "{% if dbh.listener_name is defined %}{{ dbh.listener_name }}{% else %}{{ listener_name }}{% endif %}"
57
+
listener_protocols_template: "{% if dbh.listener_protocols is defined %}{{ dbh.listener_protocols }}{% else %}{{ listener_protocols }}{% endif %}"
58
+
listener_port_template: "{% if dbh.listener_port is defined %}{{ dbh.listener_port }}{% else %}{{ listener_port }}{% endif %}"
Copy file name to clipboardExpand all lines: roles/oradb-manage-grants/defaults/main.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ db_password_cdb: "{% if dbpasswords is defined and dbpasswords[item.0.oracle_db_
9
9
db_password_pdb: "{% if dbpasswords is defined and dbpasswords[item.0.cdb] is defined and dbpasswords[item.0.cdb][db_user] is defined%}{{dbpasswords[item.0.cdb][db_user]}}{% else %}{{ default_dbpass}}{% endif%}"
10
10
db_mode: sysdba
11
11
12
+
db_service_name: "{% if item.0 is defined %}
13
+
{%- if item.0.oracle_db_unique_name is defined %}{{ item.0.oracle_db_unique_name }}
14
+
{%- elif item.0.oracle_db_instance_name is defined %}{{ item.0.oracle_db_instance_name }}
15
+
{%- else %}{{ item.0.oracle_db_name }}
16
+
{%- endif %}
17
+
{%- endif %}"
18
+
12
19
user_cdb_password: "{% if dbpasswords is defined and dbpasswords[item.0.oracle_db_name] is defined and dbpasswords[item.0.oracle_db_name][item.1.schema] is defined %}{{dbpasswords[item.0.oracle_db_name][item.1.schema]}}{% else %}{{ default_dbpass}}{% endif%}"
13
20
user_pdb_password: "{% if dbpasswords is defined and dbpasswords[item.0.cdb] is defined and dbpasswords[item.0.cdb][item.0.pdb_name] is defined and dbpasswords[item.0.cdb][item.0.pdb_name][item.1.schema] is defined%}{{dbpasswords[item.0.cdb][item.0.pdb_name][item.1.schema]}}{% else %}{{ default_dbpass}}{% endif%}"
Copy file name to clipboardExpand all lines: roles/oradb-manage-pdb/defaults/main.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@ db_mode: sysdba
10
10
pdbadmin_user: pdbadmin
11
11
pdbadmin_password: "{% if dbpasswords is defined and dbpasswords[item[1].cdb] is defined and dbpasswords[item[1].cdb][item[1].pdb_name] is defined and dbpasswords[item[1].cdb][item[1].pdb_name][pdbadmin_user] is defined%}{{dbpasswords[item[1].cdb][item[1].pdb_name][pdbadmin_user]}}{% else %}{{ default_dbpass}}{% endif%}"
12
12
13
+
listener_port_template: "{% if item.0.listener_port is defined %}{{ item.0.listener_port }}{% else %}{{ listener_port }}{% endif %}"
0 commit comments