)]}'
{"tasks/db_setup.yml":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"82d0dae307ca02a57dcba0ceba3bd1b013af2c25","unresolved":false,"context_lines":[{"line_number":21,"context_line":"# all the repositories which use it."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Setup Database Service (MariaDB)"},{"line_number":24,"context_line":"  delegate_to: \"{{ _oslodb_setup_host }}\""},{"line_number":25,"context_line":"  tags:"},{"line_number":26,"context_line":"    - common-mariadb"},{"line_number":27,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"bfb3d3c7_a82ea9a2","line":24,"updated":"2019-05-22 09:18:15.000000000","message":"can we add run_once here to simplify conditions?","commit_id":"aa19022ea87653c233aaecca1ae9342e30ba9ae2"}],"tasks/glance_db_setup.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"92f6e353c754c09f0b12f6384326e0035288c256","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"bfb3d3c7_df54ffcc","updated":"2019-05-21 16:38:38.000000000","message":"you probably need to run this :)","commit_id":"fcddeca164d5c2ca95babeaf88f2f52f247f1cb5"}],"tasks/main.yml":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"82d0dae307ca02a57dcba0ceba3bd1b013af2c25","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- import_tasks: db_setup.yml"},{"line_number":44,"context_line":"  when:"},{"line_number":45,"context_line":"    - \"glance_services[\u0027glance-api\u0027][\u0027group\u0027] in group_names\""},{"line_number":46,"context_line":"    - \"inventory_hostname \u003d\u003d ((groups[glance_services[\u0027glance-api\u0027][\u0027group\u0027]]| intersect(ansible_play_hosts)) | list)[0]\""},{"line_number":47,"context_line":"  vars:"},{"line_number":48,"context_line":"    _oslodb_setup_host: \"{{ glance_db_setup_host }}\""},{"line_number":49,"context_line":"    _oslodb_databases:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"bfb3d3c7_0b0ecf31","line":46,"range":{"start_line":45,"start_character":0,"end_line":46,"end_character":121},"updated":"2019-05-22 09:18:15.000000000","message":"can\u0027t we shorten this to:\nglance_services[\u0027glance-api\u0027][\u0027group\u0027] | intersect(group_names) ?","commit_id":"aa19022ea87653c233aaecca1ae9342e30ba9ae2"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"0a1c7287f04af887f30b5f11a5e028f13ef354f7","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- import_tasks: db_setup.yml"},{"line_number":44,"context_line":"  when:"},{"line_number":45,"context_line":"    - \"glance_services[\u0027glance-api\u0027][\u0027group\u0027] in group_names\""},{"line_number":46,"context_line":"    - \"inventory_hostname \u003d\u003d ((groups[glance_services[\u0027glance-api\u0027][\u0027group\u0027]]| intersect(ansible_play_hosts)) | list)[0]\""},{"line_number":47,"context_line":"  vars:"},{"line_number":48,"context_line":"    _oslodb_setup_host: \"{{ glance_db_setup_host }}\""},{"line_number":49,"context_line":"    _oslodb_databases:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"bfb3d3c7_8b871f62","line":46,"range":{"start_line":45,"start_character":0,"end_line":46,"end_character":121},"in_reply_to":"bfb3d3c7_0b0ecf31","updated":"2019-05-22 09:24:19.000000000","message":"Sorry, ofc I meant just to drop the second condition and leave only the first one.","commit_id":"aa19022ea87653c233aaecca1ae9342e30ba9ae2"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"2beff08f43570a3ce0f60aab95dd134b7c5d1711","unresolved":false,"context_lines":[{"line_number":82,"context_line":"  tags:"},{"line_number":83,"context_line":"    - glance-config"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"- import_tasks: glance_db_sync.yml"},{"line_number":86,"context_line":"  tags:"},{"line_number":87,"context_line":"    - common-db"},{"line_number":88,"context_line":"    - glance-config"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"bfb3d3c7_7ae7b3ad","line":85,"range":{"start_line":85,"start_character":16,"end_line":85,"end_character":34},"updated":"2019-05-28 18:22:45.000000000","message":"Currently this is run in glance_db_setup on the first glance-api host only. There is no conditional on this updated import so this will run the glance_db_sync tasks on every glance host. I think it would be appropriate to carry over the conditionals on this.","commit_id":"aa19022ea87653c233aaecca1ae9342e30ba9ae2"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"0ccdcf8062ce47da1d01a374c910a9aa63f66ea8","unresolved":false,"context_lines":[{"line_number":43,"context_line":"- import_tasks: db_setup.yml"},{"line_number":44,"context_line":"  when:"},{"line_number":45,"context_line":"    - \"glance_services[\u0027glance-api\u0027][\u0027group\u0027] in group_names\""},{"line_number":46,"context_line":"    - \"inventory_hostname \u003d\u003d ((groups[glance_services[\u0027glance-api\u0027][\u0027group\u0027]]| intersect(ansible_play_hosts)) | list)[0]\""},{"line_number":47,"context_line":"  vars:"},{"line_number":48,"context_line":"    _oslodb_setup_host: \"{{ glance_db_setup_host }}\""},{"line_number":49,"context_line":"    _oslodb_databases:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"bfb3d3c7_60caa44e","line":46,"range":{"start_line":46,"start_character":112,"end_line":46,"end_character":116},"updated":"2019-05-28 20:17:25.000000000","message":"do we really need this filter? Intersect is supposed to always return lists iirc.","commit_id":"a9a9488ef277292e90e17db75081e33a2f562d7a"}]}
