Provide a global default for fedmsg_certs so that with_items will always pass the yaml syntax check.

This commit is contained in:
Ralph Bean 2013-06-18 03:30:20 +00:00
parent 747ec776fe
commit 405583c5e2
2 changed files with 3 additions and 2 deletions

View file

@ -45,7 +45,7 @@
owner={{item['owner']}}
group={{item['group']}}
with_items: ${fedmsg_certs}
when: fedmsg_certs is defined
when: fedmsg_certs is not []
tags:
- config
@ -57,6 +57,6 @@
owner={{item['owner']}}
group={{item['group']}}
with_items: ${fedmsg_certs}
when: fedmsg_certs is defined
when: fedmsg_certs is not []
tags:
- config