Skip to content

Commit 8eaa242

Browse files
oraculixRendanic
authored andcommitted
manage_pdb: Enter nested loop only when oracle_pdbs has an entry
1 parent 58d56bf commit 8eaa242

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- "manage_pdb: Enter nested loop only when oracle_pdbs has an entry"

roles/oradb_manage_pdb/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
environment: "{{ _oracle_env }}"
2828
with_nested:
2929
- "{{ oracle_databases }}"
30-
- "{{ oracle_pdbs }}"
30+
- "{{ oracle_pdbs | default([]) }}"
3131
become: true
3232
become_user: "{{ oracle_user }}"
3333
loop_control:

0 commit comments

Comments
 (0)