mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Revert "Vars specified via CLI have the highest priority."
Reverting as this as reported allows some variables to clobber each other.
We'll work on a different fix.
This reverts commit c5469f6367
.
This commit is contained in:
parent
5020af0a45
commit
109632e3bc
2 changed files with 9 additions and 10 deletions
|
@ -189,8 +189,9 @@ class Play(object):
|
|||
else:
|
||||
raise errors.AnsibleError("'vars_prompt' section is malformed, see docs")
|
||||
|
||||
vars.update(self.playbook.extra_vars)
|
||||
return vars
|
||||
results = self.playbook.extra_vars.copy()
|
||||
results.update(vars)
|
||||
return results
|
||||
|
||||
# *************************************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue