Don't set facts if result is not set

This commit is contained in:
Flavio Percoco 2017-07-13 16:53:24 +02:00
parent 92167cb925
commit 9467e317a7
1 changed files with 1 additions and 0 deletions

View File

@ -11,4 +11,5 @@
set_fact:
'{{fact_variable}}': '{{result.conf_dict}}'
when:
- result
- fact_variable != ''