From f831ef692c7c6ab6f39c898e5f874b5f87fae132 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Tue, 20 Dec 2016 07:07:42 -0500 Subject: [PATCH] update signature in network plugin (#19545) Fix call to _update_module_args() to include module_name in the args --- lib/ansible/plugins/action/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/network.py b/lib/ansible/plugins/action/network.py index cba4341820d..ae64f2eedb7 100644 --- a/lib/ansible/plugins/action/network.py +++ b/lib/ansible/plugins/action/network.py @@ -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)