mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-05-13 21:12:25 +00:00
use FQCN for module call in action plugins
Fixes https://github.com/ansible-collections/ansible.posix/issues/11 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -64,7 +64,7 @@ class ActionModule(ActionBase):
|
||||
)
|
||||
)
|
||||
|
||||
result.update(self._execute_module('patch', module_args=new_module_args, task_vars=task_vars))
|
||||
result.update(self._execute_module('ansible.posix.patch', module_args=new_module_args, task_vars=task_vars))
|
||||
except AnsibleAction as e:
|
||||
result.update(e.result)
|
||||
finally:
|
||||
|
||||
@@ -415,6 +415,6 @@ class ActionModule(ActionBase):
|
||||
_tmp_args['rsync_opts'].append("--rsh=buildah run --")
|
||||
|
||||
# run the module and store the result
|
||||
result.update(self._execute_module('synchronize', module_args=_tmp_args, task_vars=task_vars))
|
||||
result.update(self._execute_module('ansible.posix.synchronize', module_args=_tmp_args, task_vars=task_vars))
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user