Return default for change list
If the task or role is skipped, ansible still tries to evaluate variables and doesn't consider set_fact, having ansible change list as undefined, which stops playbook with fatal error. Change-Id: I7417918b26893fb37bed35260eee7cc98feaea9a
This commit is contained in:
parent
376509fb44
commit
5a0e394294
|
@ -97,7 +97,7 @@
|
|||
|
||||
- name: Clone and build the specific DLRN projects
|
||||
include: dlrn-build.yml artg_change={{ item }}
|
||||
with_items: '{{ artg_change_list }}'
|
||||
with_items: '{{ artg_change_list|default([]) }}'
|
||||
when: item.project not in artg_skipped_projects
|
||||
|
||||
- block:
|
||||
|
|
Loading…
Reference in New Issue