--- # Hops n Grains as a rootless Podman Quadlet on emily, behind the shared Caddy. # Run: ansible-playbook playbook.yml -e image_tag= # Use --skip-tags caddy until DNS for hopsngrains.com points at emily. - name: Deploy Hops n Grains as a rootless Podman Quadlet hosts: emily gather_facts: true vars_files: - vars/default.yml pre_tasks: # Quadlet fails unit generation when hops.network is missing, so write the # network and the Caddy drop-in before the app unit starts. - name: Register the Hops n Grains network with Caddy ansible.builtin.include_tasks: "{{ playbook_dir }}/roles/register/tasks/main.yaml" roles: - hops # The Caddyfile task is tagged caddy. Skip it until DNS points here. - caddy