stuff
This commit is contained in:
@@ -97,14 +97,14 @@
|
||||
DBUS_SESSION_BUS_ADDRESS: "unix:path=/run/user/{{ user_info.uid }}/bus"
|
||||
ansible.builtin.systemd:
|
||||
name: gitea-server.service
|
||||
state: started
|
||||
state: restarted
|
||||
scope: user
|
||||
|
||||
- name: Debug
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
- "Service status: systemctl --user --machine {{ user_info.name }}@.host status gitea-server"
|
||||
- "Service status: sudo systemctl --user --machine {{ user_info.name }}@.host status gitea-server"
|
||||
- "Read logs: sudo journalctl _UID={{ user_info.uid }} -n 200 --no-pager"
|
||||
- "Shell: machinectl shell {{ user_info.name }}@.host /bin/bash"
|
||||
- "Shell: sudo machinectl shell {{ user_info.name }}@.host /bin/bash"
|
||||
tags:
|
||||
- always
|
||||
|
||||
Reference in New Issue
Block a user