diff options
Diffstat (limited to 'lib/ansible/plugins/action/dellos9.py')
-rw-r--r-- | lib/ansible/plugins/action/dellos9.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/ansible/plugins/action/dellos9.py b/lib/ansible/plugins/action/dellos9.py index 3fff897830..6222da4f21 100644 --- a/lib/ansible/plugins/action/dellos9.py +++ b/lib/ansible/plugins/action/dellos9.py @@ -92,7 +92,14 @@ class ActionModule(_ActionModule): self._play_context.become = False self._play_context.become_method = None - return super(ActionModule, self).run(tmp, task_vars) + result = super(ActionModule, self).run(tmp, task_vars) + + try: + del result['invocation']['module_args']['provider'] + except KeyError: + pass + + return result def _get_socket_path(self, play_context): ssh = connection_loader.get('ssh', class_only=True) |