mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #9713 from bcoca/fact_cache_n_gathering
mentioned gathering settings in fact caching.
This commit is contained in:
commit
ffe1dcde28
1 changed files with 3 additions and 1 deletions
|
@ -795,6 +795,8 @@ To configure fact caching, enable it in ansible.cfg as follows::
|
||||||
fact_caching_timeout = 86400
|
fact_caching_timeout = 86400
|
||||||
# seconds
|
# seconds
|
||||||
|
|
||||||
|
You might also want to change the 'gathering' setting to 'smart' or 'explicit' or set gather_facts to False in most plays.
|
||||||
|
|
||||||
At the time of writing, Redis is the only supported fact caching engine.
|
At the time of writing, Redis is the only supported fact caching engine.
|
||||||
To get redis up and running, perform the equivalent OS commands::
|
To get redis up and running, perform the equivalent OS commands::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue