Hi,
found that if you have the blocks from a playbook template and you
leave the blocks empty you get python errors
vars:
some: true
vars_files:
vars_prompt:
tasks:
action: command....
handlers:
File "/usr/bin/ansible-playbook", line 100, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/bin/ansible-playbook", line 81, in main
pb.run()
File "/usr/lib/python2.6/site-packages/ansible/playbook.py", line
239, in run
self._run_play(pattern)
File "/usr/lib/python2.6/site-packages/ansible/playbook.py", line
560, in _run_play
if len(vars_files) > 0:
It should just skip them when they are empty i would recommend...
(ansible-0.3.1-1.el6, Centos 6.2)