1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allow vars_files sequences without a default

This commit is contained in:
Daniel Hokka Zakrisson 2012-10-28 16:35:22 +01:00
parent 457cdb2be0
commit e72fdccd87

View file

@ -275,7 +275,7 @@ class Play(object):
self.playbook.callbacks.on_not_import_for_host(host, filename4)
if found:
break
if not found:
if not found and host is not None:
raise errors.AnsibleError(
"%s: FATAL, no files matched for vars_files import sequence: %s" % (host, sequence)
)