)]}'
{"playbooks/roles/nodepool-base/library/make_nodepool_zk_hosts.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"018cef1171ff7e48fcbac81f997d13f13189bd75","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            ))"},{"line_number":40,"context_line":"        module.exit_json(hosts\u003dzk_hosts, changed\u003dTrue)"},{"line_number":41,"context_line":"    except Exception as e:"},{"line_number":42,"context_line":"        module.fail_json(msg\u003dstr(e), changed\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_8aec09f4","line":42,"updated":"2020-04-17 15:51:19.000000000","message":"You need to call ansible_main, right?\nif __name__ \u003d\u003d \u0027__main__\u0027:\n    ansible_main()","commit_id":"397cd25b9297fcc374476c4287c84cdb2ecb32e3"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"7182324f7b7155d38d053ac32b149f3fa2e2ecd0","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            ))"},{"line_number":40,"context_line":"        module.exit_json(hosts\u003dzk_hosts, changed\u003dTrue)"},{"line_number":41,"context_line":"    except Exception as e:"},{"line_number":42,"context_line":"        module.fail_json(msg\u003dstr(e), changed\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_2ab7b5f8","line":42,"in_reply_to":"3f4c43b2_8aec09f4","updated":"2020-04-28 21:11:52.000000000","message":"yup","commit_id":"397cd25b9297fcc374476c4287c84cdb2ecb32e3"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"697facbd53a06a7ed94f834006369269132b0bad","unresolved":false,"context_lines":[{"line_number":37,"context_line":"                    module.fail_json("},{"line_number":38,"context_line":"                        msg\u003d\"No network information facts found\","},{"line_number":39,"context_line":"                        changed\u003dFalse)"},{"line_number":40,"context_line":"                address\u003dhv[\u0027ansible_default_ipv4\u0027][\u0027address\u0027]"},{"line_number":41,"context_line":"            zk_hosts.append(dict("},{"line_number":42,"context_line":"                host\u003daddress,"},{"line_number":43,"context_line":"                port\u003d2181"}],"source_content_type":"text/x-python","patch_set":8,"id":"1f493fa4_80c6b399","line":40,"updated":"2020-04-24 15:26:19.000000000","message":"I think we can just always use ansible_default_ipv4 if we want to avoid needing a python module to figure this out. Outside of testing we actually only want to use ipv6 if everything has an ipv6 address (technically ipv4 is that way too but we live in a world that insists on ipv4).\n\nAlso in testing we can use the multinode node role that sets up /etc/hosts and have nodepool talk to zk that way.","commit_id":"e28aacf9201423553d73e3a95ffde51c66a0906d"}]}
