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

View file

@ -20,3 +20,4 @@ f19_qcow_id: ami-00000018
global_pkgs_inst: ['bind-utils', 'joe', 'mailx', 'nc', 'openssh-clients',
'patch', 'postfix', 'rsync', 'strace', 'telnet',
'tmpwatch', 'traceroute', 'vim-enhanced', 'xz', 'zsh' ]
fedmsg_certs: []