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

50 lines
913 B
YAML

- hosts: proxmox
roles:
- proxmox
- hosts: k3s-server
roles:
- k3s-server
- hosts: k3s-agent
roles:
- k3s-agent
- hosts: generic-linux
roles:
- common
- hosts: bastion
roles:
- haproxy
- bastion
- wireguard
- hosts: plex
roles:
- plex
- hosts: minecraft-server
roles:
- minecraft-server
- hosts: home-assistant
roles:
- zigbee2mqtt
- 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