Return failed instead of raising an error when an include_vars file is missing
Fixes #18508
(cherry picked from commit 937d872f4b
)
This commit is contained in:
parent
47d5f0f0a8
commit
159399fea4
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…
Add table
Reference in a new issue