add variable precedence warning to set_fact documentation. (#20774)

* add variable precedence warning to documentation.

Not sure how to link to other documentation.

* fix wording, thx bcoca
pull/20795/head
Ted Timmons 8 years ago committed by Brian Coca
parent e401b8e827
commit 4d57515aec

@ -30,6 +30,7 @@ short_description: Set host facts from a task
description: description:
- This module allows setting new variables. Variables are set on a host-by-host basis just like facts discovered by the setup module. - This module allows setting new variables. Variables are set on a host-by-host basis just like facts discovered by the setup module.
- These variables will be available to subsequent plays during an ansible-playbook run, but will not be saved across executions even if you use a fact cache. - These variables will be available to subsequent plays during an ansible-playbook run, but will not be saved across executions even if you use a fact cache.
- Per the standard Ansible variable precedence rules, many other types of variables have a higher priority, so this value may be overridden. See U(http://docs.ansible.com/ansible/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable) for more information.
options: options:
key_value: key_value:
description: description:

Loading…
Cancel
Save