mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix variable precedence issue where set facts beat role params
Also updates doc on variable precedence, as it was incorrect for the order of play vars/vars_prompt/vars_files in relation to set_fact and registered variables. Fixes #14702 Fixes #14826
This commit is contained in:
@@ -803,11 +803,11 @@ In 2.x, we have made the order of precedence more specific (with the last listed
|
||||
* playbook group_vars
|
||||
* playbook host_vars
|
||||
* host facts
|
||||
* registered vars
|
||||
* set_facts
|
||||
* play vars
|
||||
* play vars_prompt
|
||||
* play vars_files
|
||||
* registered vars
|
||||
* set_facts
|
||||
* role and include vars
|
||||
* block vars (only for tasks in block)
|
||||
* task vars (only for the task)
|
||||
|
||||
Reference in New Issue
Block a user