mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
update signature in network plugin (#19545)
Fix call to _update_module_args() to include module_name in the args
This commit is contained in:
parent
bcace3cfc4
commit
f831ef692c
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class ActionModule(ActionBase):
|
|||
result = super(ActionModule, self).run(tmp, task_vars)
|
||||
del result['invocation']['module_args']
|
||||
|
||||
self._update_module_args(self._task.args, task_vars)
|
||||
module_name = self._task.action
|
||||
self._update_module_args(module_name, self._task.args, task_vars)
|
||||
|
||||
try:
|
||||
_modify_module(self._task.args, self._connection)
|
||||
|
|
Loading…
Reference in a new issue