Skip to content

Commit 033da07

Browse files
bartowlRendanic
authored andcommitted
extra indents in yamkl blocks produce unwanted newlines
1 parent 7708675 commit 033da07

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

roles/oradb_rman/tasks/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,10 @@
311311
# noqa risky-shell-pipe no-changed-when
312312
ansible.builtin.shell: >-
313313
{{ oracle_base }}/bin/rman_backup.sh
314-
-a {{ odb.1.name }}
315-
-s {{ odb.0.oracle_db_instance_name | default(odb.0.oracle_db_name) }}
316-
-r {{ oradb_rman_script_dir }}
317-
-l {{ oradb_rman_log_dir }} | tee -a {{ rman_cron_logdir }}/rman_{{ odb.1.name }}.log
314+
-a {{ odb.1.name }}
315+
-s {{ odb.0.oracle_db_instance_name | default(odb.0.oracle_db_name) }}
316+
-r {{ oradb_rman_script_dir }}
317+
-l {{ oradb_rman_log_dir }} | tee -a {{ rman_cron_logdir }}/rman_{{ odb.1.name }}.log
318318
environment:
319319
PATH: /bin:/usr/bin
320320
become: true

roles/orasw_meta/tasks/assert_oracle_sw_patches.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
- osp_loop.filename is defined
1717
- >-
1818
oracle_sw_patches
19-
| selectattr('unique_patchid', 'defined')
20-
| selectattr('unique_patchid', 'equalto', osp_loop.unique_patchid | default(0))
21-
| list | length <= 1
19+
| selectattr('unique_patchid', 'defined')
20+
| selectattr('unique_patchid', 'equalto', osp_loop.unique_patchid | default(0))
21+
| list | length <= 1
2222
- >-
2323
oracle_sw_patches
24-
| selectattr('unique_patchid', 'undefined')
25-
| selectattr('patchid', 'equalto', osp_loop.patchid)
26-
| list | length <= 1
24+
| selectattr('unique_patchid', 'undefined')
25+
| selectattr('patchid', 'equalto', osp_loop.patchid)
26+
| list | length <= 1
2727
with_items:
2828
- "{{ oracle_sw_patches }}"
2929
loop_control:

roles/oraswgi_manage_patches/tasks/post_install_patch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
with_items:
8080
- >-
8181
gi_patches[oracle_install_version_gi]['opatch']
82-
| selectattr('state', 'equalto', 'present')
82+
| selectattr('state', 'equalto', 'present')
8383
- "" # loop with dummy list due to needed structure for autopatch
8484
loop_control:
8585
loop_var: gip_opatch

0 commit comments

Comments
 (0)