mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Update variable precedence section with current rules
This commit is contained in:
parent
48f48e8a44
commit
94a1c221bc
2 changed files with 5 additions and 4 deletions
|
@ -261,8 +261,9 @@ class Play(object):
|
|||
self.vars_files = [ self.vars_files ]
|
||||
|
||||
if host is not None:
|
||||
inject = self.playbook.SETUP_CACHE[host].copy()
|
||||
inject = {}
|
||||
inject.update(self.playbook.inventory.get_variables(host))
|
||||
inject.update(self.playbook.SETUP_CACHE[host])
|
||||
|
||||
for filename in self.vars_files:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue