mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 12:12:13 +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
|
||||
group: amin
|
||||
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
|
||||
ansible.builtin.systemd_service:
|
||||
|
||||
Reference in New Issue
Block a user