clarify cacheable (#75085)

* clarify cacheable

* Update lib/ansible/modules/set_fact.py

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Brian Coca
2021-09-01 15:42:24 -04:00
committed by GitHub
co-authored by Abhijeet Kasurde
parent f38a97cece
commit dcd31da01a
+2 -1
View File
@@ -28,7 +28,8 @@ options:
required: true
cacheable:
description:
- This boolean converts the variable into an actual 'fact' which will also be added to the fact cache, if fact caching is enabled.
- This boolean converts the variable into an actual 'fact' which will also be added to the fact cache.
It does not enable fact caching across runs, it just means it will work with it if already enabled.
- Normally this module creates 'host level variables' and has much higher precedence, this option changes the nature and precedence
(by 7 steps) of the variable created.
U(https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable)