Commit f9a6265f by Michael DeHaan

Merge branch 'vars_files-list-no-default' of git://github.com/dhozac/ansible into devel

parents 6dceef3a e72fdccd
...@@ -275,7 +275,7 @@ class Play(object): ...@@ -275,7 +275,7 @@ class Play(object):
self.playbook.callbacks.on_not_import_for_host(host, filename4) self.playbook.callbacks.on_not_import_for_host(host, filename4)
if found: if found:
break break
if not found: if not found and host is not None:
raise errors.AnsibleError( raise errors.AnsibleError(
"%s: FATAL, no files matched for vars_files import sequence: %s" % (host, sequence) "%s: FATAL, no files matched for vars_files import sequence: %s" % (host, sequence)
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment