)]}'
{"playbooks/roles/os_swift/handlers/main.yml":[{"author":{"_account_id":12606,"name":"Miguel Grinberg","email":"miguel.grinberg@gmail.com","username":"miguelgrinberg"},"change_message_id":"da0798f4d158d571074f368b679576986cbe49e7","unresolved":false,"context_lines":[{"line_number":65,"context_line":"- name: Restart rsync service"},{"line_number":66,"context_line":"  service:"},{"line_number":67,"context_line":"    name: \"rsync\""},{"line_number":68,"context_line":"    state: \"stopped\""},{"line_number":69,"context_line":"  register: service_restart"},{"line_number":70,"context_line":"  failed_when: \"\u0027msg\u0027 in service_restart and \u0027FAIL\u0027 in service_restart.msg|upper\""},{"line_number":71,"context_line":"  register: service_restart"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_96415d3c","line":68,"updated":"2015-08-26 19:42:50.000000000","message":"Isn\u0027t this now stopping the service instead of restarting it?","commit_id":"e2e7c5a16e3f479f1234181afd412026ca990ab2"},{"author":{"_account_id":12606,"name":"Miguel Grinberg","email":"miguel.grinberg@gmail.com","username":"miguelgrinberg"},"change_message_id":"78b1e8b4eca4f3d2eef7a4cd84ce70a2747eb6d8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"- name: Restart rsync service"},{"line_number":66,"context_line":"  service:"},{"line_number":67,"context_line":"    name: \"rsync\""},{"line_number":68,"context_line":"    state: \"stopped\""},{"line_number":69,"context_line":"  register: service_restart"},{"line_number":70,"context_line":"  failed_when: \"\u0027msg\u0027 in service_restart and \u0027FAIL\u0027 in service_restart.msg|upper\""},{"line_number":71,"context_line":"  register: service_restart"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_e7d020cc","line":68,"in_reply_to":"da20952f_07e9951a","updated":"2015-08-26 21:40:02.000000000","message":"My original comment was related to the fact that before this change this handler would stop the service and then notify the ensure service below, which would restart it.\n\nYou removed the notification, so now this handle effectively stops the service, it does not restart it anymore.","commit_id":"e2e7c5a16e3f479f1234181afd412026ca990ab2"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"f4e15f6eb26b3fbe57f6bd62b594d63c034d0199","unresolved":false,"context_lines":[{"line_number":65,"context_line":"- name: Restart rsync service"},{"line_number":66,"context_line":"  service:"},{"line_number":67,"context_line":"    name: \"rsync\""},{"line_number":68,"context_line":"    state: \"stopped\""},{"line_number":69,"context_line":"  register: service_restart"},{"line_number":70,"context_line":"  failed_when: \"\u0027msg\u0027 in service_restart and \u0027FAIL\u0027 in service_restart.msg|upper\""},{"line_number":71,"context_line":"  register: service_restart"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_07e9951a","line":68,"in_reply_to":"da20952f_96415d3c","updated":"2015-08-26 20:59:17.000000000","message":"this line is unchanged, as is the name of the task\n\nI don\u0027t know the background of why we are going to extensive lengths to stop a service but I presume it has to do with rsync being slow to shutdown and restart not being patient and thorough enough.","commit_id":"e2e7c5a16e3f479f1234181afd412026ca990ab2"}],"playbooks/roles/os_swift/tasks/swift_storage_hosts_setup.yml":[{"author":{"_account_id":12606,"name":"Miguel Grinberg","email":"miguel.grinberg@gmail.com","username":"miguelgrinberg"},"change_message_id":"da0798f4d158d571074f368b679576986cbe49e7","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    owner: \"root\""},{"line_number":39,"context_line":"    group: \"root\""},{"line_number":40,"context_line":"    mode: \"0644\""},{"line_number":41,"context_line":"  notify: [\"Restart rsync service\", \"Ensure rsync service running\"]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: \"Enable rsync in defaults\""},{"line_number":44,"context_line":"  lineinfile:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_bbb56a7f","line":41,"updated":"2015-08-26 19:42:50.000000000","message":"The restart handler used to notify the ensure handler: https://github.com/stackforge/os-ansible-deployment/blob/f665c58d38c58ee395229c566d3aab77d94e1a6e/playbooks/roles/os_swift/handlers/main.yml#L76.\n\nIt seems you have now broken that association between the two handlers and instead call the two handlers in a list. But in the end, isn\u0027t all the same thing? Why not leave it as it was before?","commit_id":"e2e7c5a16e3f479f1234181afd412026ca990ab2"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"f4e15f6eb26b3fbe57f6bd62b594d63c034d0199","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    owner: \"root\""},{"line_number":39,"context_line":"    group: \"root\""},{"line_number":40,"context_line":"    mode: \"0644\""},{"line_number":41,"context_line":"  notify: [\"Restart rsync service\", \"Ensure rsync service running\"]"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: \"Enable rsync in defaults\""},{"line_number":44,"context_line":"  lineinfile:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_476c6d9c","line":41,"in_reply_to":"da20952f_bbb56a7f","updated":"2015-08-26 20:59:17.000000000","message":"Please see also the details in the commit message where I mention this, but the \"Ensure rsync service running\" was NOT being attempted in my testing, even when \"Restart rsync service\" was successful.\n\nI think handlers sending notices to other handlers might have different behavior in current versions of Ansible.","commit_id":"e2e7c5a16e3f479f1234181afd412026ca990ab2"}]}
