)]}'
{"tasks/cinder_post_install.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2e197c9ba00033bc37a46f76c24b8ca303234062","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    state: present"},{"line_number":63,"context_line":"  notify: Ensure tgt service restarted"},{"line_number":64,"context_line":"  when:"},{"line_number":65,"context_line":"    - \"\u0027cinder_volume\u0027 in group_names\""},{"line_number":66,"context_line":"    - cinder_backend_lvm_inuse | bool"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"- name: Create nfs shares export file"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f485f77_d84022a8","line":65,"updated":"2017-11-16 09:44:06.000000000","message":"In some cases (the os_* roles) we have a \u0027services\u0027 dict, for example for this one we have: https://github.com/openstack/openstack-ansible-os_cinder/blob/master/defaults/main.yml#L282-L310\n\nIn that dict we refer to the service by a key, then extract other things like the group name. To be consistent, these conditionals should be using that dict.\n\nie this conditional should be:\n\n  when:\n    - \"cinder_services[\u0027cinder-volume\u0027][\u0027group\u0027] in group_names\"\n\nThis way if the dict is overridden for whatever reason, the same result occurs.\n\nI see that there are a ton of conditionals in tasks/main.yml which need to be adjusted to be correct as well.","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"},{"author":{"_account_id":24441,"name":"Cuong Nguyen","email":"cuongnv@vn.fujitsu.com","username":"cuongnv"},"change_message_id":"eae8bf23c8c7a02f9607cbfb3190de9af2df7773","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    state: present"},{"line_number":63,"context_line":"  notify: Ensure tgt service restarted"},{"line_number":64,"context_line":"  when:"},{"line_number":65,"context_line":"    - \"\u0027cinder_volume\u0027 in group_names\""},{"line_number":66,"context_line":"    - cinder_backend_lvm_inuse | bool"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"- name: Create nfs shares export file"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f485f77_13a9fd8e","line":65,"in_reply_to":"1f485f77_d84022a8","updated":"2017-11-16 10:11:35.000000000","message":"Done","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2e197c9ba00033bc37a46f76c24b8ca303234062","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  with_dict: \"{{ cinder_backends | default({}) }}\""},{"line_number":73,"context_line":"  when:"},{"line_number":74,"context_line":"    - item.value.nfs_shares_config is defined"},{"line_number":75,"context_line":"    - \"\u0027cinder_volume\u0027 in group_names\""},{"line_number":76,"context_line":"  tags:"},{"line_number":77,"context_line":"    - cinder-nfs"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f485f77_78436eb0","line":75,"updated":"2017-11-16 09:44:06.000000000","message":"as above","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"},{"author":{"_account_id":24441,"name":"Cuong Nguyen","email":"cuongnv@vn.fujitsu.com","username":"cuongnv"},"change_message_id":"eae8bf23c8c7a02f9607cbfb3190de9af2df7773","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  with_dict: \"{{ cinder_backends | default({}) }}\""},{"line_number":73,"context_line":"  when:"},{"line_number":74,"context_line":"    - item.value.nfs_shares_config is defined"},{"line_number":75,"context_line":"    - \"\u0027cinder_volume\u0027 in group_names\""},{"line_number":76,"context_line":"  tags:"},{"line_number":77,"context_line":"    - cinder-nfs"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f485f77_939ccd6a","line":75,"in_reply_to":"1f485f77_78436eb0","updated":"2017-11-16 10:11:35.000000000","message":"Done","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"}],"templates/cinder.conf.j2":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2e197c9ba00033bc37a46f76c24b8ca303234062","unresolved":false,"context_lines":[{"line_number":18,"context_line":"enable_v2_api \u003d {{ cinder_enable_v2_api }}"},{"line_number":19,"context_line":"enable_v3_api \u003d {{ cinder_enable_v3_api }}"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{% if \u0027cinder_volume\u0027 in group_names %}"},{"line_number":22,"context_line":"{% if cinder_service_backup_program_enabled \u003d\u003d true %}"},{"line_number":23,"context_line":"## Cinder Backup"},{"line_number":24,"context_line":"backup_driver \u003d {{ cinder_service_backup_driver }}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"1f485f77_581672aa","line":21,"updated":"2017-11-16 09:44:06.000000000","message":"same as https://review.openstack.org/#/c/520341/1/tasks/cinder_post_install.yml","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"},{"author":{"_account_id":24441,"name":"Cuong Nguyen","email":"cuongnv@vn.fujitsu.com","username":"cuongnv"},"change_message_id":"eae8bf23c8c7a02f9607cbfb3190de9af2df7773","unresolved":false,"context_lines":[{"line_number":18,"context_line":"enable_v2_api \u003d {{ cinder_enable_v2_api }}"},{"line_number":19,"context_line":"enable_v3_api \u003d {{ cinder_enable_v3_api }}"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{% if \u0027cinder_volume\u0027 in group_names %}"},{"line_number":22,"context_line":"{% if cinder_service_backup_program_enabled \u003d\u003d true %}"},{"line_number":23,"context_line":"## Cinder Backup"},{"line_number":24,"context_line":"backup_driver \u003d {{ cinder_service_backup_driver }}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"1f485f77_73c4b15f","line":21,"in_reply_to":"1f485f77_581672aa","updated":"2017-11-16 10:11:35.000000000","message":"Done","commit_id":"a694f1341c1199ba8bbe841c1f1d34eab7a45fc9"}]}
