No description
Find a file
2026-04-05 22:02:16 +00:00
defaults update image value name, add podman gpus 2025-01-07 07:29:05 +00:00
meta open-webui deployment 2024-12-03 18:39:41 +00:00
tasks add korkoro tasks 2026-04-05 22:02:16 +00:00
.gitignore open-webui deployment 2024-12-03 18:39:41 +00:00
README.md update readme example 2024-12-03 18:43:01 +00:00

ansible-roles-open-webui

This role deploys a podman based open webui instance

Task Configuration

- name: Setup Open WebUI
  hosts: somehost
  become: true
  roles:
    - role: open-webui
    - role: caddy
      caddy_routes:
        - name: some-test
          url: webui.somehost.com
          srv: "{{ caddy_local_address }}:8080"
    - role: firewalld
      firewalld_services:
        - http
        - https
      firewalld_forwards:
        - port: 80
          to: 8080
        - port: 443
          to: 8443
        - port: 443
          to: 8443
          proto: udp

Deployment and Removal

Sometimes you need to manually stop the running containers to get a clean run when re-deploying Services must be stopped as the respecitve user or another means to aquire the correct user scope for systemd

systemctl --user stop container-open-webui.service

Deploy

ansible-playbook -i hosts site.yml --tags=firewalld,caddy,open-webui --limit=somehost

Remove

ansible-playbook -i hosts site.yml --tags=firewalld,caddy,open-webui --extra-vars "container_state=absent firewall_action=remove" --limit=somehost