mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 07:05:27 +01:00
Compare commits
2 commits
f1afe83bec
...
3dcb6aee5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dcb6aee5b | ||
|
|
c6c16bb3fe |
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ __metaclass__ = type
|
||||||
|
|
||||||
import os
|
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._text import to_native
|
||||||
from ansible.module_utils.parsing.convert_bool import boolean
|
from ansible.module_utils.parsing.convert_bool import boolean
|
||||||
from ansible.plugins.action import ActionBase
|
from ansible.plugins.action import ActionBase
|
||||||
|
|
@ -46,7 +46,7 @@ class ActionModule(ActionBase):
|
||||||
elif remote_src:
|
elif remote_src:
|
||||||
# everything is remote, so we just execute the module
|
# everything is remote, so we just execute the module
|
||||||
# without changing any of the module arguments
|
# 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:
|
try:
|
||||||
src = self._find_needle('files', src)
|
src = self._find_needle('files', src)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue