No description
Find a file
2026-04-05 19:45:53 +00:00
defaults initial commit 2026-04-05 19:45:53 +00:00
meta initial commit 2026-04-05 19:45:53 +00:00
tasks initial commit 2026-04-05 19:45:53 +00:00
templates initial commit 2026-04-05 19:45:53 +00:00
.gitignore initial commit 2026-04-05 19:45:53 +00:00
README.md initial commit 2026-04-05 19:45:53 +00:00

ansible-roles-shadowsocks

This role deploys a podman based shadowsocks

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 }}:3002"
    - role: firewalld
      firewalld_add:
        - name: public
          forwards:
            - port: 80
              to: 8080
            - port: 443
              to: 8443

Deployment and Removal

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