Change scope for systemd services

This commit is contained in:
exu 2024-10-10 20:15:20 +02:00
parent c431d62f2e
commit b20fe679f9

View File

@ -89,6 +89,7 @@
- name: Reload user systemd services - name: Reload user systemd services
ansible.builtin.systemd_service: ansible.builtin.systemd_service:
daemon_reload: true daemon_reload: true
scope: user
- name: Enable fstrim - name: Enable fstrim
ansible.builtin.systemd_service: ansible.builtin.systemd_service:
@ -134,6 +135,7 @@
name: ssh-agent name: ssh-agent
state: "restarted" state: "restarted"
enabled: true enabled: true
scope: user
- name: Enable vnstat - name: Enable vnstat
ansible.builtin.systemd_service: ansible.builtin.systemd_service: