-
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
include_vars: foo.yml within a role no longer overrides roles/a/vars/main.yml #9498
Comments
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! |
This appears to be broken again on devel:
|
@dstillman I see where the problem is, and will have a patch merged in shortly. |
Fixed per the above commit. |
Issue Type:
Bug Report
Ansible Version:
8a1fbed and later
Environment:
Amazon Linux AMI release 2014.09
Summary:
include_vars: foo.yml within a role no longer overrides variables set in roles/a/vars/main.yml
Steps To Reproduce:
main.yml:
roles/a/vars/main.yml:
roles/a/vars/foo.yml:
roles/a/tasks/main.yml:
Expected Results:
foo
should be set to 'GOOD' because of the foo.yml include. This is the case in both 1.5.0 and 1.7.2.Actual Results:
foo
is set to 'BAD' in 8a1fbed and up.The text was updated successfully, but these errors were encountered: