-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extra_vars don't override variables in vars_files #9242
Comments
Hi @hkariti, I just tried this against devel and it appears fixed: TASK: [debug var=var] ********************************************************* ok: [127.0.0.1] => { "var": "2" } I even backed up to a commit on Oct. 1st and it still worked, so I'm not quite sure what your issue might be. |
Ok, this is working correctly for me too now. But I still think I'm not crazy. I managed to reproduce it again with the latest dev, but with inventory vars + regular vars and not vars_file: inventory:
playbook:
command:
output:
|
Yeah that's an odd one, but should be easy to fix. Looking into this now. |
Closing This TicketHi! We believe the above commit should resolve this problem for you. This will also be included in the next major release. If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved. Thank you! |
Thanks! |
Issue Type:
Bug Report
Ansible Version:
ansible 1.8 (devel 43eb821) last updated 2014/10/02 08:44:04 (GMT +000)
lib/ansible/modules/core: (detached HEAD 617a52b) last updated 2014/09/28 12:24:37 (GMT +000)
lib/ansible/modules/extras: (detached HEAD 110250d) last updated 2014/09/28 12:24:41 (GMT +000)
configured module search path = None
Environment:
Ubuntu 12.10
Summary:
Overriding variables with
-e
doesn't work on variables in vars_files.Bisecting points to 8a1fbed (again, sorry James :\ )
Steps to reproduce:
var_file:
playbook:
command:
Expected Results:
Actual Results:
The text was updated successfully, but these errors were encountered: