mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-10 06:35:27 +01:00
Merge c6c16bb3fe into 5f44339fa5
This commit is contained in:
commit
f1afe83bec
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ __metaclass__ = type
|
|||
|
||||
import os
|
||||
|
||||
from ansible.errors import AnsibleError, AnsibleAction, _AnsibleActionDone, AnsibleActionFail
|
||||
from ansible.errors import AnsibleError, AnsibleAction, AnsibleActionFail
|
||||
from ansible.module_utils._text import to_native
|
||||
from ansible.module_utils.parsing.convert_bool import boolean
|
||||
from ansible.plugins.action import ActionBase
|
||||
|
|
@ -46,7 +46,7 @@ class ActionModule(ActionBase):
|
|||
elif remote_src:
|
||||
# everything is remote, so we just execute the module
|
||||
# without changing any of the module arguments
|
||||
raise _AnsibleActionDone(result=self._execute_module(task_vars=task_vars))
|
||||
return self._execute_module(task_vars=task_vars)
|
||||
|
||||
try:
|
||||
src = self._find_needle('files', src)
|
||||
|
|
|
|||
Loading…
Reference in a new issue