--- # Self-hosted first-party analytics (Vince — Plausible-protocol, single # binary). Reachable only on mozimo's network: # - Caddy proxies /stats/* on the apex host here (prefix stripped), serving # the tracker script and event API first-party; # - Caddy publishes the dashboard on {{ stats_host }}. # # Analytics history lives in {{ vince_directory }} and is migrated separately # from monoco — see ansible/README.md. - name: Pull the Vince image ansible.builtin.command: "podman pull {{ vince_image }}" changed_when: false - name: Install the Vince Quadlet unit ansible.builtin.template: src: vince.container.j2 dest: "{{ quadlet_dir }}/{{ vince_container }}.container" mode: "0644" notify: Restart Vince - name: Generate the user service from the Quadlet unit ansible.builtin.systemd_service: daemon_reload: true scope: user