homelab/build/config/ansible/playbooks/deploy.yml
Russell Seymour 1250c9cef6
Some checks are pending
deploy / deploy (push) Waiting to run
Initial checkin of code for managing homelab
2026-08-24 20:52:36 +01:00

21 lines
957 B
YAML

---
# Everything, both platforms. Unraid first only by convention now — the two
# platforms no longer depend on each other. Proxmox-side apps provision their
# databases against the Proxmox shared Postgres (192.168.50.54), and Terraform
# keeps its state on the CloudNativePG cluster on k3s, neither of which is on
# Unraid.
#
# Run a single platform with `ansible-playbook playbooks/unraid.yml` or
# `playbooks/proxmox.yml` instead. `--limit <host>` and `-e only_stacks=...`
# work the same way against any of the three.
- name: Deploy Unraid stacks
ansible.builtin.import_playbook: unraid.yml
- name: Deploy Proxmox apps
ansible.builtin.import_playbook: proxmox.yml
# Last, because the vzdump job can be pinned to specific VMIDs and those guests
# have to exist first. Harmless to re-run; skipped entirely if no node is
# defined in the `proxmox_nodes` group.
- name: Configure Proxmox node backups
ansible.builtin.import_playbook: pve_host.yml