M6: open_webui-Rolle startet den Container bei Quadlet-Aenderung neu (Handler)
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 36s
ci-static / ansible-syntax (push) Successful in 1m19s
ci-static / markdown-links (push) Successful in 20s
ci-static / secret-scan (pull_request) Successful in 20s
ci-static / yamllint (pull_request) Successful in 31s
ci-static / ansible-syntax (pull_request) Successful in 42s
ci-static / markdown-links (pull_request) Successful in 21s

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-11 19:34:20 +01:00
co-authored by Mistral Vibe
parent 6e6feed3c8
commit 4887dc0d15
2 changed files with 20 additions and 1 deletions
@@ -15,3 +15,20 @@
chdir: "{{ open_webui_home }}"
changed_when: false
when: not ansible_check_mode
- name: Restart OpenWebUI unit
ansible.builtin.command:
argv:
- /usr/sbin/runuser
- --user
- "{{ open_webui_user }}"
- --
- /usr/bin/env
- "HOME={{ open_webui_home }}"
- "XDG_RUNTIME_DIR=/run/user/{{ open_webui_uid }}"
- /usr/bin/systemctl
- --user
- restart
- "{{ open_webui_unit_prefix }}.service"
chdir: "{{ open_webui_home }}"
when: not ansible_check_mode
@@ -159,7 +159,9 @@
owner: root
group: "{{ open_webui_user }}"
mode: "0640"
notify: Reload workload user manager
notify:
- Reload workload user manager
- Restart OpenWebUI unit
- name: Ensure the workload user manager knows the rendered unit
ansible.builtin.command: