|
10 | 10 | password={{ db_password_cdb }} |
11 | 11 | mode="{{ db_mode }}" |
12 | 12 | schema={{ item.1.schema }} |
13 | | - schema_password={{ user_cdb_password }} |
14 | | - schema_password_hash={{ user_cdb_password_hash | default(omit) }} |
| 13 | + schema_password={{ item.1.password_is_hash | default(false) | ternary(omit,user_cdb_password) }} |
| 14 | + schema_password_hash={{ item.1.password_is_hash | default(false) | ternary(user_cdb_password,omit) }} |
15 | 15 | profile={{ item.1.profile | default (omit) }} |
16 | 16 | state={{ item.1.state }} |
17 | 17 | default_tablespace={{ item.1.default_tablespace | default (omit) }} |
18 | 18 | default_temp_tablespace={{ item.1.default_temp_tablespace | default (omit) }} |
19 | 19 | container={{ item.1.container | default(omit) }} |
20 | | - update_password={{ item.1.update_password | default('on_create') }} |
| 20 | + update_password={{ item.1.update_password | default(omit) }} |
21 | 21 | authentication_type={{ item.1.authentication_type | default(omit) }} |
22 | 22 | grants={{ item.1.grants | default (omit) }} |
23 | 23 | with_subelements: |
|
45 | 45 | password={{ db_password_pdb }} |
46 | 46 | mode="{{ db_mode }}" |
47 | 47 | schema={{ item.1.schema }} |
48 | | - schema_password={{ user_pdb_password }} |
49 | | - schema_password_hash={{ user_pdb_password_hash | default(omit) }} |
| 48 | + schema_password={{ item.1.password_is_hash | default(false) | ternary(omit,user_pdb_password) }} |
| 49 | + schema_password_hash={{ item.1.password_is_hash | default(false) | ternary(user_pdb_password,omit) }} |
50 | 50 | profile={{ item.1.profile | default (omit) }} |
51 | 51 | state={{ item.1.state }} |
52 | 52 | default_tablespace={{ item.1.default_tablespace | default (omit) }} |
53 | 53 | default_temp_tablespace={{ item.1.default_temp_tablespace | default (omit) }} |
54 | | - update_password={{ item.1.update_password | default('on_create') }} |
| 54 | + update_password={{ item.1.update_password | default(omit) }} |
55 | 55 | authentication_type={{ item.1.authentication_type | default(omit) }} |
56 | 56 | grants={{ item.1.grants | default (omit) }} |
57 | 57 | with_subelements: |
|
0 commit comments