Files
playbooks/gitea/playbook.yml
T
tanshu 476a6d7cd0 Cut the comment bloat from the Podman playbooks
Comment blocks now stay within three lines and explain only the non-obvious. Long histories, include examples, and commented-out code are gone. No task, key, or value changed; the only data change is comment text inside the generated unit files.
2026-10-18 22:10:57 +05:30

18 lines
471 B
YAML
Executable File

---
# Requires caddy to have run first. Gitea uses SQLite, not Postgres.
- name: Deploy Gitea as a rootless Podman Quadlet
hosts: emily
gather_facts: true
vars_files:
- vars/default.yml
pre_tasks:
# Quadlet needs the network unit before it generates the app unit.
- name: Register Gitea's network with Caddy
ansible.builtin.include_tasks: "{{ playbook_dir }}/../caddy/roles/register/tasks/main.yaml"
roles:
- ssh
- gitea
- caddy