Files
homelab/all.yml
Matthew McKinnon 9612c9c6b9
All checks were successful
Deploy / Prepare Build (push) Successful in 4m2s
chore: set hosts shell
2025-10-12 20:24:51 +10:00

27 lines
445 B
YAML

---
- hosts: all
become: yes
name: Configure all servers
pre_tasks:
- name: Create directories
file:
path: "/data"
state: directory
- name: Setup base system
import_tasks: tasks/base.yml
roles:
- role: geerlingguy.docker
docker_users:
- administrator
tasks:
- name: Gather facts (always, even with tags)
ansible.builtin.setup:
tags: always