ansible.builtin.paramiko_ssh – Run tasks via python ssh (paramiko)
Note
This connection plugin is part of ansible-core
and included in all Ansible
installations. In most cases, you can use the short
plugin name
paramiko_ssh
even without specifying the collections:
keyword.
However, we recommend you use the FQCN for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same connection plugin name.
New in version 0.1: of ansible.builtin
Synopsis
Use the python ssh implementation (Paramiko) to connect to targets
The paramiko transport is provided because many distributions, in particular EL6 and before do not support ControlPersist in their SSH implementations.
This is needed on the Ansible control machine to be reasonably efficient with connections. Thus paramiko is faster for most users on these platforms. Users with ControlPersist capability can consider using -c ssh or configuring the transport in the configuration file.
This plugin also borrows a lot of settings from the ssh plugin as they both cover the same protocol.
Parameters
Parameter |
Comments |
---|---|
TODO: write it Choices:
Configuration:
|
|
Set this to “False” if you want to avoid host key checking by the underlying tools Ansible uses to connect to the host Choices:
Configuration:
|
|
TODO: write it Choices:
Configuration:
|
|
Secret used to either login the ssh server or as a passphrase for ssh keys that require it Can be set from the CLI via the Configuration:
|
|
Proxy information for running the connection via a jumphost Also this plugin will scan ‘ssh_args’, ‘ssh_extra_args’ and ‘ssh_common_args’ from the ‘ssh’ plugin settings for proxy information if set. Default: “” Configuration:
|
|
TODO: write it Choices:
Configuration:
|
|
TODO: write it Choices:
Configuration:
|
|
Address of the remote target Default: “inventory_hostname” Configuration:
|
|
User to login/authenticate as Can be set from the CLI via the Configuration:
|
|
Toggles the use of persistence for connections Choices:
Configuration:
|
Authors
Ansible Core Team