Skip to content

Commit 30fa983

Browse files
committed
manage_pdb: Enter nested loop only when oracle_pdbs has an entry
1 parent 2d8cb51 commit 30fa983

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
minor_changes:
3-
- create OMF enabled databases using dbca's -useOMF flag
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)