1
0
Fork 0
home-stack-ansible/playbook.yml

74 lines
1.2 KiB
YAML

- hosts: usbip
roles:
- usbip
- nut-server
- hosts: proxmox
roles:
- proxmox
- nut-client
- hosts: k3s-server
roles:
- k3s-server
- nut-client
- hosts: k3s-agent
roles:
- k3s-agent
- nut-client
- hosts: generic-linux
roles:
- common
- hosts: bastion
roles:
- haproxy
- bastion
- wireguard
- hosts: pihole
roles:
- pihole-local-dns-records
- hosts: plex
roles:
- plex
- hosts: minecraft-server
roles:
- minecraft-server
- hosts: home-assistant
roles:
- zigbee2mqtt
- hydroqc2mqtt
- home-assistant
tasks:
- name: Install home-assistant binary_sensors config
copy:
src: home-assistant/binary_sensors
dest: /opt/homeassistant/config/binary_sensors
- name: Install home-assistant mqtt config
copy:
src: home-assistant/mqtt
dest: /opt/homeassistant/config/mqtt
- name: Install home-assistant automations
copy:
src: home-assistant/automations
dest: /opt/homeassistant/config/automations
- hosts: cups
roles:
- cups
- hosts: jellyfin
roles:
- jellyfin
# we want node metrics on the satisfactory server
- hosts: satisfactory
roles:
- docker
- prometheus.prometheus.node_exporter