mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Documentation updates for accelerate mode improvements
This commit is contained in:
parent
3ea5d573aa
commit
1fa0fab6cb
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,9 @@ Major features/changes:
|
||||||
* The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}.
|
* 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.
|
* 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.
|
* 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:
|
New Modules:
|
||||||
|
|
||||||
|
|
|
@ -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.
|
* 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.
|
* 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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue