minilab/minilab.yaml

60 lines
1.4 KiB
YAML
Raw Normal View History

2025-04-30 11:51:18 +00:00
---
# Pre-run tasks for all hosts
- name: Pre-run tasks for all hosts
hosts: all
tags: always
become: true
pre_tasks:
- name: Update package cache (Alpine)
tags: always
community.general.apk:
update_cache: true
when: ansible_facts["distribution"] == "Alpine"
2025-05-09 08:29:02 -04:00
- name: Update package cache (Debian, and derivatives)
tags: always
ansible.builtin.apt:
update_cache: true
changed_when: false
when: ansible_facts["distribution"] in debian_derivatives
2025-04-30 11:51:18 +00:00
- name: Common tasks for all hosts
hosts: all
tags: common
become: true
roles:
- adhdgirl.minilab.common
- name: Ensure docker is installed and running
hosts: docker
tags: docker
become: true
roles:
- adhdgirl.minilab.docker
- name: Configure AdGuard home hosts
hosts: adguard_servers
2025-04-30 11:51:18 +00:00
tags: docker,adguard
become: true
roles:
- adhdgirl.minilab.adguardhome
- name: Configure AdguardHome-Sync hosts
hosts: adguard_sync
tags: docker,adguard
become: true
roles:
- adhdgirl.minilab.adguardhome_sync
2025-05-05 01:42:16 +00:00
- name: Configure Coder hosts
hosts: coder
tags: docker,coder
become: true
roles:
- adhdgirl.minilab.coder
2025-05-16 13:46:14 -04:00
- name: Configure nemetona
hosts: nemetona
tags: docker,authentik,caddy
2025-05-09 08:29:02 -04:00
become: true
roles:
2026-01-19 22:51:51 +00:00
- adhdgirl.minilab.authentik
2025-05-16 13:46:14 -04:00
- adhdgirl.minilab.caddy
2026-01-18 16:19:33 +00:00
- adhdgirl.minilab.arr
- adhdgirl.minilab.ntfy
- adhdgirl.minilab.cloudflared