From 4961f003e577d57c67a6fd0bd9904a7b5f3a1fbf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 7 Nov 2018 11:06:00 -0500 Subject: [PATCH] a more in depth doc on cacheable option (#47878) * a more indepth doc on cacheable option --- lib/ansible/modules/utilities/logic/set_fact.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/set_fact.py b/lib/ansible/modules/utilities/logic/set_fact.py index 2a9a2e06d9..34cb44ee80 100644 --- a/lib/ansible/modules/utilities/logic/set_fact.py +++ b/lib/ansible/modules/utilities/logic/set_fact.py @@ -35,8 +35,10 @@ options: required: true cacheable: description: - - This boolean indicates if the facts set 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, if fact caching is 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. + https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable type: bool default: 'no' version_added: "2.4"