# Tinyauth: Caddy forward_auth target that sends people to Pocket ID before # they reach admin pages of apps without their own SSO (see the (sso) # snippet in Caddyfile.j2). Only reachable through Caddy on the lava network. - name: make tinyauth directories ansible.builtin.file: path: "{{ item }}" state: directory loop: - /opt/stacks/tinyauth - name: Template out the tinyauth compose file ansible.builtin.template: src: tinyauth-compose.yml.j2 dest: /opt/stacks/tinyauth/compose.yml owner: root mode: '0644' - name: Template out the tinyauth .env file ansible.builtin.template: src: tinyauth-env.j2 dest: /opt/stacks/tinyauth/.env owner: root mode: '0640' group: docker diff: false # contains the Pocket ID client secret - name: deploy tinyauth stack community.docker.docker_compose_v2: project_src: /opt/stacks/tinyauth files: - compose.yml