)]}'
{"playbooks/service-restart.yml":[{"author":{"_account_id":4268,"name":"Byron McCollum","email":"byron.mccollum@rackspace.com","username":"byron-mccollum"},"change_message_id":"5973c4b3b4e2753d1805fd636cfa87498bf65020","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da36d5c6_16ad78e9","updated":"2017-02-20 19:48:33.000000000","message":"Would like to see services restarted serially if possible, to minimize downtime. Although a service being \"up\" doesn\u0027t really mean \"ready\".","commit_id":"12ae0f960a90bb96b48ac75ff351d616c8052f0b"},{"author":{"_account_id":4268,"name":"Byron McCollum","email":"byron.mccollum@rackspace.com","username":"byron-mccollum"},"change_message_id":"5973c4b3b4e2753d1805fd636cfa87498bf65020","unresolved":false,"context_lines":[{"line_number":23,"context_line":"        systemctl list-unit-files | awk \u0027/{{ service_name }}.*service/ {print $1}\u0027 | sed \u0027s/.service//g\u0027"},{"line_number":24,"context_line":"      register: service_names"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    - name: Restart libvirt-bin"},{"line_number":27,"context_line":"      systemd:"},{"line_number":28,"context_line":"        name: \"{{ item }}\""},{"line_number":29,"context_line":"        state: \"restarted\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da36d5c6_36635cde","line":26,"updated":"2017-02-20 19:48:33.000000000","message":"Restart {{ service_name }}","commit_id":"12ae0f960a90bb96b48ac75ff351d616c8052f0b"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"38dba0d416fefcfb7265aeb2ef21cd2f06b89365","unresolved":false,"context_lines":[{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Generic service restarts"},{"line_number":17,"context_line":"  hosts: hosts"},{"line_number":18,"context_line":"  max_fail_percentage: 20"},{"line_number":19,"context_line":"  user: root"},{"line_number":20,"context_line":"  pre_tasks:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da36d5c6_276de498","line":17,"range":{"start_line":17,"start_character":9,"end_line":17,"end_character":14},"updated":"2017-02-20 21:36:31.000000000","message":"I\u0027d suggest that this be changed to target a var name, but default to \u0027all\u0027.","commit_id":"a1cb4cb7fd96eecf155e41f1132d9aa0dfc12683"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"38dba0d416fefcfb7265aeb2ef21cd2f06b89365","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  pre_tasks:"},{"line_number":21,"context_line":"    - name: gather services"},{"line_number":22,"context_line":"      shell: \u003e-"},{"line_number":23,"context_line":"        systemctl list-unit-files | awk \u0027/{{ service_name }}.*service/ {print $1}\u0027 | sed \u0027s/.service//g\u0027"},{"line_number":24,"context_line":"      register: service_names"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    - name: \"Restart {{ service_name }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da36d5c6_a7263466","line":23,"range":{"start_line":23,"start_character":45,"end_line":23,"end_character":57},"updated":"2017-02-20 21:36:31.000000000","message":"I\u0027d suggest setting the default for \u0027service_name\u0027 to be a regex that covers all openstack services.","commit_id":"a1cb4cb7fd96eecf155e41f1132d9aa0dfc12683"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"38dba0d416fefcfb7265aeb2ef21cd2f06b89365","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    - name: \"Restart {{ service_name }}\""},{"line_number":27,"context_line":"      systemd:"},{"line_number":28,"context_line":"        name: \"{{ item }}\""},{"line_number":29,"context_line":"        state: \"restarted\""},{"line_number":30,"context_line":"        daemon_reload: yes"},{"line_number":31,"context_line":"      with_items: \"{{ service_names.stdout_lines }}\""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"da36d5c6_a7dd5444","line":29,"range":{"start_line":29,"start_character":16,"end_line":29,"end_character":25},"updated":"2017-02-20 21:36:31.000000000","message":"I\u0027d suggest making this a var so that it can be overridden to \u0027stop\u0027 or \u0027start\u0027 or \u0027restart\u0027 with a default of \u0027restart\u0027.","commit_id":"a1cb4cb7fd96eecf155e41f1132d9aa0dfc12683"}]}
