mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
now reloading the user daemon only if the copy has been changed
This commit is contained in:
@@ -14,6 +14,13 @@
|
|||||||
owner: amin
|
owner: amin
|
||||||
group: amin
|
group: amin
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
register: syncthing_service_copy
|
||||||
|
|
||||||
|
- name: Reload Systemd User Daemon
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
daemon_reload: true
|
||||||
|
scope: user
|
||||||
|
when: syncthing_service_copy.changed
|
||||||
|
|
||||||
- name: Reload Systemd User Daemon
|
- name: Reload Systemd User Daemon
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
|
|||||||
Reference in New Issue
Block a user