2026-01-13 21:12:24 -08:00
|
|
|
---
|
|
|
|
|
- name: Configure indri
|
|
|
|
|
hosts: indri
|
2026-01-16 12:30:20 -08:00
|
|
|
|
2026-01-20 09:04:47 -08:00
|
|
|
# Fetch 1Password credentials upfront to minimize prompts
|
2026-01-16 12:30:20 -08:00
|
|
|
# Each role also fetches its own credentials (with 'when: <var> is not defined')
|
|
|
|
|
# so they still work when running with --tags
|
|
|
|
|
pre_tasks:
|
|
|
|
|
- name: Fetch borgmatic database password
|
|
|
|
|
ansible.builtin.command:
|
|
|
|
|
cmd: op --vault vg6xf6vvfmoh5hqjjhlhbeoaie item get mw2bv5we7woicjza7hc6s44yvy --fields db-password --reveal
|
|
|
|
|
delegate_to: localhost
|
|
|
|
|
register: _borgmatic_db_pw
|
|
|
|
|
changed_when: false
|
|
|
|
|
no_log: true
|
2026-01-16 14:41:36 -08:00
|
|
|
check_mode: false
|
2026-01-20 09:04:47 -08:00
|
|
|
tags: [borgmatic]
|
2026-01-16 12:30:20 -08:00
|
|
|
|
2026-01-20 09:04:47 -08:00
|
|
|
- name: Set borgmatic database password fact
|
2026-01-16 12:30:20 -08:00
|
|
|
ansible.builtin.set_fact:
|
2026-01-20 09:04:47 -08:00
|
|
|
borgmatic_db_password: "{{ _borgmatic_db_pw.stdout }}"
|
2026-01-16 12:30:20 -08:00
|
|
|
no_log: true
|
2026-01-20 09:04:47 -08:00
|
|
|
tags: [borgmatic]
|
2026-01-16 12:30:20 -08:00
|
|
|
|
2026-01-13 21:12:24 -08:00
|
|
|
roles:
|
2026-01-15 12:24:13 -08:00
|
|
|
- role: alloy
|
|
|
|
|
tags: alloy
|
2026-01-14 10:33:48 -08:00
|
|
|
- role: borgmatic
|
|
|
|
|
tags: borgmatic
|
2026-01-17 09:22:01 -08:00
|
|
|
- role: borgmatic_metrics
|
|
|
|
|
tags: borgmatic_metrics
|
2026-01-14 10:33:48 -08:00
|
|
|
- role: forgejo
|
|
|
|
|
tags: forgejo
|
2026-01-18 12:06:28 -08:00
|
|
|
- role: zot
|
|
|
|
|
tags: zot
|
|
|
|
|
- role: zot_metrics
|
|
|
|
|
tags: zot_metrics
|
|
|
|
|
- role: minikube
|
|
|
|
|
tags: minikube
|
|
|
|
|
- role: minikube_metrics
|
|
|
|
|
tags: minikube_metrics
|
2026-01-15 15:27:59 -08:00
|
|
|
- role: plex_metrics
|
|
|
|
|
tags: plex_metrics
|
2026-01-15 20:55:25 -08:00
|
|
|
- role: tailscale_serve
|
|
|
|
|
tags: tailscale-serve
|