Skip to content
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

With ansible 2.5.3 the usage of keys().0 and values().0 throws an error #7

Open
thalunil opened this issue May 29, 2018 · 2 comments
Open

Comments

@thalunil
Copy link

In item=01general.conf there is an error with ansible 2.5.3.

failed: [localhost] (item=01general.conf) => {"changed": false, "item": "01general.conf", "msg": "AnsibleUndefinedVariable: dict_keys object has no element 0"}

Version 2.5.3 is affected.
Version 2.5.2 works fine.

@jdauphant
Copy link
Owner

jdauphant commented May 29, 2018

:(
Thanks for the report.
Have you test some solutions ? (Another way to access the first element)

@thalunil
Copy link
Author

i sent over a pull request with a working ansible role...can you test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants