mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Vars specified via CLI have the highest priority.
This commit is contained in:
parent
036f853d42
commit
c5469f6367
2 changed files with 10 additions and 9 deletions
|
@ -189,9 +189,8 @@ class Play(object):
|
|||
else:
|
||||
raise errors.AnsibleError("'vars_prompt' section is malformed, see docs")
|
||||
|
||||
results = self.playbook.extra_vars.copy()
|
||||
results.update(vars)
|
||||
return results
|
||||
vars.update(self.playbook.extra_vars)
|
||||
return vars
|
||||
|
||||
# *************************************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue