mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Merge pull request #58 from maxamillion/issues/11/action-plugins-use-fqcn-synchronize-patch
use FQCN for module call in action plugins Reviewed-by: https://github.com/apps/ansible-zuul
This commit is contained in:
commit
ffd90de595
3 changed files with 6 additions and 2 deletions
4
changelogs/fragments/11-action-plugins-use-fqcn.yml
Normal file
4
changelogs/fragments/11-action-plugins-use-fqcn.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
bugfixes:
|
||||
- patch - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11)
|
||||
- synchronize - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11)
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue