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.
17 lines
484 B
YAML
Executable File
17 lines
484 B
YAML
Executable File
---
|
|
# Requires caddy to have run first. State is one SQLite file, not Postgres.
|
|
- name: Deploy TriliumNext Notes 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 Trilium's network with Caddy
|
|
ansible.builtin.include_tasks: "{{ playbook_dir }}/../caddy/roles/register/tasks/main.yaml"
|
|
|
|
roles:
|
|
- trilium
|
|
- caddy
|