You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| systemd_scope | no | Create system or user units. Default: `system`. |
65
+
| systemd_base_path | no | Where to generate the systemd unit files. Set this to e.g. `~/.config/systemd/user` when using *systemd_scope*=`user`. Default: `/etc/systemd/system`. |
66
+
67
+
You can create user timers for non-root services in combination with `become_user: '{{ my_user }}'`. Example:
68
+
```
69
+
systemd_base_path: ~/.config/systemd/user
70
+
systemd_scope: user
71
+
timers:
72
+
timer-one:
73
+
timer_command: ...
74
+
timer_OnCalendar: ...
75
+
timer_user: '{{ my_user }}'
76
+
...
77
+
```
78
+
61
79
## Working with shell redirection
62
80
63
81
Shell redirection does not work out of the box. You have to work around that by calling `sh` or `bash`.
0 commit comments