mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix a few errors (#21854)
This commit is contained in:
committed by
Peter Sprygada
parent
a284c3f7ea
commit
ca21d09483
@@ -57,8 +57,8 @@ class ActionModule(_ActionModule):
|
||||
pc.connection = 'network_cli'
|
||||
pc.network_os = 'eos'
|
||||
pc.remote_user = provider['username'] or self._play_context.connection_user
|
||||
pc.password = provider['password'] or self._play_context.password or 22
|
||||
pc.privateip_key_file = provider['ssh_keyfile'] or self._play_context.private_key_file
|
||||
pc.password = provider['password'] or self._play_context.password
|
||||
pc.private_key_file = provider['ssh_keyfile'] or self._play_context.private_key_file
|
||||
pc.timeout = provider['timeout'] or self._play_context.timeout
|
||||
pc.become = provider['authorize'] or False
|
||||
pc.become_pass = provider['auth_pass']
|
||||
@@ -138,4 +138,3 @@ class ActionModule(_ActionModule):
|
||||
return strategy(*args, **kwargs)
|
||||
except AnsibleFallbackNotFound:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user