mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
* Fixes #23388 Network provider masks too much * Fix trailing whitespace
This commit is contained in:
parent
0cf1e8e061
commit
d4bd54d3b8
14 changed files with 75 additions and 13 deletions
|
@ -78,7 +78,14 @@ class ActionModule(_ActionModule):
|
|||
|
||||
task_vars['ansible_socket'] = socket_path
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue