diff options
author | Nathaniel Case <this.is@nathanielca.se> | 2017-02-25 21:12:49 -0500 |
---|---|---|
committer | Peter Sprygada <privateip@users.noreply.github.com> | 2017-02-25 21:12:49 -0500 |
commit | ca21d09483499d7232775032a0a7509ef5cf9bc8 (patch) | |
tree | f68b48e817f6c9e73964615e673189fdd97e721e /lib/ansible/plugins/action/eos.py | |
parent | a284c3f7eaf0b6419a960d4913c88dc377db676a (diff) | |
download | ansible-ca21d09483499d7232775032a0a7509ef5cf9bc8.tar.gz |
Fix a few errors (#21854)
Diffstat (limited to 'lib/ansible/plugins/action/eos.py')
-rw-r--r-- | lib/ansible/plugins/action/eos.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ansible/plugins/action/eos.py b/lib/ansible/plugins/action/eos.py index 2739310b41..e8240ead0c 100644 --- a/lib/ansible/plugins/action/eos.py +++ b/lib/ansible/plugins/action/eos.py @@ -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 - |