diff options
author | Jakub Paweł Głazik <zytek@nuxi.pl> | 2020-05-07 21:52:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 14:52:42 -0500 |
commit | 04b22a6b352505ff1bfc5caa0a862dccb49ad00f (patch) | |
tree | bed3b322e628361d2cfbec9bdfbf541d97c3df23 /examples | |
parent | bc1364952b7301013f5cebb27a3a64055221a036 (diff) | |
download | ansible-04b22a6b352505ff1bfc5caa0a862dccb49ad00f.tar.gz |
Change example ControlPath to be short and unique (#69347)
Use %C as the ControlPath setting in the example config file. The old setting used %h and %r tokens, which break ansible for a few use cases, including packer provisioning, where hostname is always 127.0.0.1. %C is a hash of local host, remote host, username and port.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ansible.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index f14dd9e0eb..a3c58008bc 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -392,7 +392,7 @@ # In those cases, a "too long for Unix domain socket" ssh error would occur. # # Example: -# control_path = %(directory)s/%%h-%%r +# control_path = %(directory)s/%%C #control_path = # Enabling pipelining reduces the number of SSH operations required to |