update signature in network plugin (#19545)

Fix call to _update_module_args() to include module_name in the args
pull/19562/head
Peter Sprygada 8 years ago committed by GitHub
parent bcace3cfc4
commit f831ef692c

@ -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…
Cancel
Save