diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-04-05 23:48:37 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-04-12 08:01:07 -0700 |
commit | dcc5dfdf811f24c3adbb879e77a1bf8789bf1738 (patch) | |
tree | 43f54efb4150cc9140cc843633136d55ad89dfbb /docsite | |
parent | b5717ef696198ce11104885faaf5f86fe66a02cc (diff) | |
download | ansible-dcc5dfdf811f24c3adbb879e77a1bf8789bf1738.tar.gz |
Controller-side module caching.
This makes our recursive, ast.parse performance measures as fast as
pre-ziploader baseline.
Since this unittest isn't testing that the returned module data is
correct we don't need to worry about os.rename not having any module
data. Should devise a separate test for the module and caching code
Diffstat (limited to 'docsite')
-rw-r--r-- | docsite/rst/intro_configuration.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docsite/rst/intro_configuration.rst b/docsite/rst/intro_configuration.rst index d5820a5b5f..9628735087 100644 --- a/docsite/rst/intro_configuration.rst +++ b/docsite/rst/intro_configuration.rst @@ -452,6 +452,22 @@ This is the default location Ansible looks to find modules:: Ansible knows how to look in multiple locations if you feed it a colon separated path, and it also will look for modules in the "./library" directory alongside a playbook. +.. _local_tmp: + +local_tmp +========= + +When Ansible gets ready to send a module to a remote machine it usually has to +add a few things to the module: Some boilerplate code, the module's +parameters, and a few constants from the config file. This combination of +things gets stored in a temporary file until ansible exits and cleans up after +itself. The default location is a subdirectory of the user's home directory. +If you'd like to change that, you can do so by altering this setting:: + + local_tmp = $HOME/.ansible/tmp + +Ansible will then choose a random directory name inside this location. + .. _log_path: log_path |