persistent – Use a persistent unix socket for connection

From Get docs
< Connection PluginsAnsible/docs/2.8/plugins/connection/persistent


persistent – Use a persistent unix socket for connection

New in version 2.3.


Synopsis

  • This is a helper plugin to allow making other connections persistent.

Parameters

Parameter Choices/Defaults Configuration Comments

persistent_command_timeout

integer

Default:

10

ini entries: [persistent_connection]command_timeout = 10


env:ANSIBLE_PERSISTENT_COMMAND_TIMEOUT

var: ansible_command_timeout

Configures, in seconds, the amount of time to wait for a command to return from the remote device. If this timer is exceeded before the command returns, the connection plugin will raise an exception and close



Status

Authors

  • Ansible Core Team

Hint

If you notice any issues in this documentation, you can edit this document to improve it.


Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.


© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/plugins/connection/persistent.html