Merge "Reload systemd after installing a service unit override"
This commit is contained in:
commit
389dd8ae72
@ -102,6 +102,7 @@
|
||||
when: "'systemd_overrides' in item"
|
||||
notify:
|
||||
- systemd service changed
|
||||
register: systemd_override_result
|
||||
tags:
|
||||
- systemd-service
|
||||
|
||||
@ -139,7 +140,7 @@
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when:
|
||||
- (systemd_services_result is changed) or (systemd_timer_result is changed) or ('true' in systemd_socket.results | map(attribute='changed') | list )
|
||||
- (systemd_services_result is changed) or (systemd_timer_result is changed) or (systemd_override_result is changed ) or ('true' in systemd_socket.results | map(attribute='changed') | list )
|
||||
|
||||
- include_tasks: systemd_load.yml
|
||||
loop: "{{ systemd_services }}"
|
||||
|
Loading…
Reference in New Issue
Block a user