ansible: Support ansible_ssh_private_key_file
This commit is contained in:
parent
a87b665099
commit
da00437f1e
|
@ -132,6 +132,7 @@ class Connection(ansible.plugins.connection.ConnectionBase):
|
|||
'password': self._play_context.password,
|
||||
'port': self._play_context.port,
|
||||
'python_path': self.python_path,
|
||||
'identity_file': self._play_context.private_key_file,
|
||||
'ssh_path': self._play_context.ssh_executable,
|
||||
'connect_timeout': self.connect_timeout,
|
||||
})
|
||||
|
|
|
@ -201,7 +201,8 @@ This list will grow as more missing pieces are discovered.
|
|||
* ansible_user, ansible_ssh_user
|
||||
* ansible_port, ssh_port
|
||||
* ansible_ssh_executable, ssh_executable
|
||||
* password (default: assume passwordless)
|
||||
* ansible_ssh_private_key_file
|
||||
* ansible_ssh_pass, ansible_password (default: assume passwordless)
|
||||
|
||||
|
||||
Sudo Variables
|
||||
|
|
Loading…
Reference in New Issue