-
Notifications
You must be signed in to change notification settings - Fork 98
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
global.cfg using flatten is broken, returning list instead of dict #112
Comments
So, I've discovered the issue; there's a name collision with your I would submit a PR, but I'll just name it something that probably doesn't agree with you devs. |
Oh, brilliant. Thanks for discovering that. Why not |
Sure, I'm totally indecisive on it to be honest, and a little shocked I didn't get any warnings from Ansible! |
… ansible core (Issue devops-coop#112)
As I really need a solution I've created a pull request (#117) in case you want to go along the "simple renaming" route. |
@benwebber ? Thoughts on the PR? |
Looks like people are forking to fix. |
So this is a weird one, I'm getting this:
With much head-scratching, I found this is happening at the end of the template, when dealing with the
tune
option. I've discovered this:Ok,
tune
is a dict of dicts, good. Lets feed this by hand:All good thus far. Now with some debugging in the template:
Very odd! Perhaps custom filters to jinja always return lists or something?!?
I'm running Ansible devel, and only just installed your role.
The text was updated successfully, but these errors were encountered: