1
0
Fork 0
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:
Brian Coca 2015-01-16 10:17:17 -05:00
commit ffe1dcde28

View file

@ -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::