mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
Previously `wait` could be defined in the user's config file, but in the new release it appears to only be supported as a flag, so we have to override the systemd service.
10 lines
257 B
YAML
10 lines
257 B
YAML
---
|
|
- name: reload systemd config
|
|
command: systemctl daemon-reload
|
|
|
|
- name: reload user systemd config
|
|
command: systemctl --user daemon-reload
|
|
become: yes
|
|
become_user: "{{ user.name }}"
|
|
environment:
|
|
XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}"
|