mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Merge pull request #1338 from alopropoz/extra_vars_override
Vars specified via CLI have the highest priority.
This commit is contained in:
@@ -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
|
||||
|
||||
# *************************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user