jdauphant/ansible-role-unbound

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

Opened this issue · 2 comments

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.

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

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