Don't set facts if result is not set
This commit is contained in:
parent
92167cb925
commit
9467e317a7
@ -11,4 +11,5 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
'{{fact_variable}}': '{{result.conf_dict}}'
|
'{{fact_variable}}': '{{result.conf_dict}}'
|
||||||
when:
|
when:
|
||||||
|
- result
|
||||||
- fact_variable != ''
|
- fact_variable != ''
|
||||||
|
Loading…
Reference in New Issue
Block a user