With ansible 2.5.3 the usage of keys().0 and values().0 throws an error
Opened this issue · 2 comments
thalunil commented
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 commented
:(
Thanks for the report.
Have you test some solutions ? (Another way to access the first element)
thalunil commented
i sent over a pull request with a working ansible role...can you test?