ansible/ansible — pull request #420 by bradobro (2012-05-29 14:14:42+00:00)
Title: Test for play.vars_files == None, avoiding nasty traceback.

Ignores for now. Could warn or fail.

Playbook test for no vars_files with len(), but that excepts if play.vars_files==None, as can happen when there's a vars_files section with no vars files listed.

Design considerations:

1. What is the ansible way: ignore, warn, or fail with message (instead of traceback)?

2. Would it be better to alter the playbook parser to ensure a zero-length play.vars_files?

3. Should change be backported to 0.4