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)
|
result = super(ActionModule, self).run(tmp, task_vars)
|
||||||
del result['invocation']['module_args']
|
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:
|
try:
|
||||||
_modify_module(self._task.args, self._connection)
|
_modify_module(self._task.args, self._connection)
|
||||||
|
|
Loading…
Reference in a new issue