minilab/minilab.yaml
2025-05-05 01:42:16 +00:00

37 lines
790 B
YAML

---
# 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_distribution == "Alpine"
- 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: pump
tags: docker,adguard
become: true
roles:
- adhdgirl.minilab.adguardhome
- name: Configure Coder hosts
hosts: coder
tags: docker,coder
become: true
roles:
- adhdgirl.minilab.coder