fix: user systemd

This commit is contained in:
Clément Désiles
2025-12-23 09:08:43 +01:00
parent 1cdad04a93
commit 229f9f6b5d
21 changed files with 299 additions and 162 deletions
+8 -4
View File
@@ -3,11 +3,15 @@
ansible.builtin.systemd:
daemon_reload: true
- name: Reload systemd user
ansible.builtin.command: "systemctl --user daemon-reload"
become: true
become_user: "{{ ansible_user }}"
- name: Restart ntfy
ansible.builtin.systemd:
name: ntfy
state: restarted
daemon_reload: true
ansible.builtin.command: "systemctl --user restart ntfy.service"
become: true
become_user: "{{ ansible_user }}"
- name: Reload nginx
ansible.builtin.systemd: