)]}'
{"rpc_deployment/roles/nova_libvirt/tasks/main.yml":[{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"de759ac97216c55df7615e145dc597e94821341e","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    dest\u003d/etc/libvirt/libvirtd.conf"},{"line_number":20,"context_line":"    owner\u003d\"root\""},{"line_number":21,"context_line":"    group\u003d\"root\""},{"line_number":22,"context_line":"    mode\u003d0644"},{"line_number":23,"context_line":"  notify: Restart libvirt-bin"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: Set libvirt-bin upstart script"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_363d63c4","line":22,"updated":"2015-08-29 13:48:11.000000000","message":"up here, the template will be updated when nova_libvirtd_listen_tcp is changed","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"e7cf7dd68220d46995d43fbd4e5a7e30f5ae819f","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    dest\u003d/etc/libvirt/libvirtd.conf"},{"line_number":20,"context_line":"    owner\u003d\"root\""},{"line_number":21,"context_line":"    group\u003d\"root\""},{"line_number":22,"context_line":"    mode\u003d0644"},{"line_number":23,"context_line":"  notify: Restart libvirt-bin"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: Set libvirt-bin upstart script"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_965a2f29","line":22,"in_reply_to":"da20952f_363d63c4","updated":"2015-08-29 13:51:36.000000000","message":"If someone has not changed the setting in ansible, but changed the setting in /etc/default/libvirt-bin on their own then only having a notify here would not result in the required restart when changing it in the task below. That is why all changes that require a restart should have the notify. Never assume that you\u0027re in control of everything. :)","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"b8b2e3829b44a82ea89a333093016a359a937182","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    dest\u003d/etc/libvirt/libvirtd.conf"},{"line_number":20,"context_line":"    owner\u003d\"root\""},{"line_number":21,"context_line":"    group\u003d\"root\""},{"line_number":22,"context_line":"    mode\u003d0644"},{"line_number":23,"context_line":"  notify: Restart libvirt-bin"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: Set libvirt-bin upstart script"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_1647ff4b","line":22,"in_reply_to":"da20952f_965a2f29","updated":"2015-08-29 13:52:29.000000000","message":"good point :D","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"f2efb4c85be93f7e0278d4181d5cbebf7ac27331","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    mode: \"0644\""},{"line_number":32,"context_line":"  notify: Restart libvirt-bin"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: Set libvirt runtime options"},{"line_number":35,"context_line":"  lineinfile:"},{"line_number":36,"context_line":"    dest: \"/etc/default/libvirt-bin\""},{"line_number":37,"context_line":"    line: \u0027libvirtd_opts\u003d\"-d -l\"\u0027"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_dd1e8dba","line":34,"updated":"2015-08-29 01:58:02.000000000","message":"Not sure the notify is actually needed since the config gets written to and the service gets restarted.","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2b007e62d4e4112ee0eb4c10c71ec00e60e7b5b5","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    mode: \"0644\""},{"line_number":32,"context_line":"  notify: Restart libvirt-bin"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: Set libvirt runtime options"},{"line_number":35,"context_line":"  lineinfile:"},{"line_number":36,"context_line":"    dest: \"/etc/default/libvirt-bin\""},{"line_number":37,"context_line":"    line: \u0027libvirtd_opts\u003d\"-d -l\"\u0027"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_63131b5c","line":34,"in_reply_to":"da20952f_dd1e8dba","updated":"2015-08-29 11:09:42.000000000","message":"Which notify are you referring to? The actual restart for any changes in one of the tasks will notify the handler to restart libvirt-bin. The handler only does the restart when the role completes all its tasks. The notify is therefore needed on any task that makes a change requiring libvirt-bin to restart.","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"f2efb4c85be93f7e0278d4181d5cbebf7ac27331","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    - nova-kvm"},{"line_number":44,"context_line":"    - nova-libvirt"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"- name: Set libvirt runtime options"},{"line_number":47,"context_line":"  lineinfile:"},{"line_number":48,"context_line":"    dest: \"/etc/default/libvirt-bin\""},{"line_number":49,"context_line":"    line: \u0027libvirtd_opts\u003d\"-d\"\u0027"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"da20952f_9d7b35f5","line":46,"updated":"2015-08-29 01:58:02.000000000","message":"same as above","commit_id":"90a1b656e5e61805e42ba6010577bbc5189f6372"}]}
