mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Return failed instead of raising an error when an include_vars file is missing
Fixes #18508
This commit is contained in:
parent
f12d5b01c7
commit
937d872f4b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue