Skip to content

Conversation

@licode
Copy link

@licode licode commented Jan 11, 2019

There is some error if I am using ansible with py3

TASK [kafka : Render and write out kafka configuration files] ***********************
task path: /Users/lili/Research/Dev/playbooks/roles/kafka/tasks/kafka-cfg.yml:38
failed: [bcart01] (item=server.properties) => {
    "changed": false,
    "item": "server.properties",
    "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"
}

This fix should work for both py2 and py3.

@licode
Copy link
Author

licode commented Jan 18, 2019

@jtaylor , any comment on this PR?

@jaytaylor
Copy link
Owner

If you squash and cleanup the commits, I'll gladly merge this!

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

Successfully merging this pull request may close these issues.

2 participants