Change scope for systemd services
This commit is contained in:
parent
c431d62f2e
commit
b20fe679f9
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user