maps ios provider ssh_keyfile to play_context (#21597)
This allows the key file to be specified in the playbook for the ios module provider argument
This commit is contained in:
parent
60bb677154
commit
8716a5bc67
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class ActionModule(_ActionModule):
|
|||
pc.port = provider['port'] or self._play_context.port or 22
|
||||
pc.remote_user = provider['username'] or self._play_context.connection_user
|
||||
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']
|
||||
|
|
Loading…
Reference in a new issue