Return failed instead of raising an error when an include_vars file is missing

Fixes #18508
pull/18545/head
James Cammarata 8 years ago
parent f12d5b01c7
commit 937d872f4b

@ -137,8 +137,8 @@ class ActionModule(ActionBase):
results.update(updated_results)
except AnsibleError as e:
failed = True
err_msg = to_native(e)
raise AnsibleError(err_msg)
if self.return_results_as_name:
scope = dict()

Loading…
Cancel
Save