From 1fa0fab6cb5216b4758dcf028c5d2cd382d734e2 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sun, 23 Mar 2014 14:44:38 -0500 Subject: [PATCH] Documentation updates for accelerate mode improvements --- CHANGELOG.md | 3 +++ docsite/rst/playbooks_acceleration.rst | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6b9d0ffbf..6543ae4572 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ Major features/changes: * The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}. * Any data file can also be JSON. Use sparingly -- with great power comes great responsibility. Starting file with "{" or "[" denotes JSON. * Added 'gathering' param for ansible.cfg to change the default gather_facts policy. +* Accelerate improvements: + - multiple users can connect with different keys, when `accelerate_multi_key = yes` is specified in the ansible.cfg. + - daemon lifetime is now based on the time from the last activity, not the time from the daemon's launch. New Modules: diff --git a/docsite/rst/playbooks_acceleration.rst b/docsite/rst/playbooks_acceleration.rst index 6b25f6cced..b7f08828a8 100644 --- a/docsite/rst/playbooks_acceleration.rst +++ b/docsite/rst/playbooks_acceleration.rst @@ -76,4 +76,11 @@ As noted above, accelerated mode also supports running tasks via sudo, however t * You must remove requiretty from your sudoers options. * Prompting for the sudo password is not yet supported, so the NOPASSWD option is required for sudo'ed commands. +As of Ansible version `1.6`, you can also allow the use of multiple keys for connections from multiple Ansible management nodes. To do so, add the following option +to your `ansible.cfg` configuration:: + + accelerate_multi_key = yes + +When enabled, the daemon will open a UNIX socket file (by default `$ANSIBLE_REMOTE_TEMP/.ansible-accelerate/.local.socket`). New connections over SSH can +use this socket file to upload new keys to the daemon.