diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2021-09-01 15:42:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 15:42:24 -0400 |
commit | dcd31da01a118774544efbb36bb6600a33f99ca4 (patch) | |
tree | b37a212e0d30debedf04401803e8a2bae1e63728 /lib/ansible | |
parent | f38a97cece7eb28ee93dac9ff4d734f657b7a9c4 (diff) | |
download | ansible-dcd31da01a118774544efbb36bb6600a33f99ca4.tar.gz |
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>
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/modules/set_fact.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/modules/set_fact.py b/lib/ansible/modules/set_fact.py index fe8eadf1a6..72a760002c 100644 --- a/lib/ansible/modules/set_fact.py +++ b/lib/ansible/modules/set_fact.py @@ -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) |