--- # 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: Update package cache (Debian, and derivatives) tags: always ansible.builtin.apt: update_cache: true changed_when: false when: ansible_distribution in debian_derivatives - 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 - name: Configure authentik hosts: authentik tags: docker,authentik become: true roles: - adhdgirl.minilab.authentik