ansible/site.yml

132 lines
2.8 KiB
YAML

---
- name: Setup common roles on all hosts
hosts: all
roles:
- common
- root_keys
- name: Setup unattended updates
hosts: [sulis.binary.kitchen, nabia.binary.kitchen, epona.binary.kitchen, pancake.binary.kitchen, knoedel.binary.kitchen, bob.binary.kitchen, bowle.binary.kitchen, beryllium.binary-kitchen.net, boron.binary-kitchen.net, carbon.binary-kitchen.net, nitrogen.binary-kitchen.net, oxygen.binary-kitchen.net, fluorine.binary-kitchen.net, neon.binary-kitchen.net, sodium.binary-kitchen.net, magnesium.binary-kitchen.net, krypton.binary-kitchen.net, yttrium.binary-kitchen.net, zirconium.binary-kitchen.net, molybdenum.binary-kitchen.net, ruthenium.binary-kitchen.net, ruthenium.binary-kitchen.net, barium.binary-kitchen.net]
roles:
- uau
- name: Setup Proxmox VE hosts
hosts: [salat.binary.kitchen, wurst.binary.kitchen, weizen.binary.kitchen]
roles:
- pvessl
- name: Setup infrastructure server
hosts: [bacon.binary.kitchen, aveta.binary.kitchen, aeron.binary.kitchen]
roles:
- dns_intern
- dhcpd
- slapd
- radius
- name: Setup shell server
hosts: [sulis.binary.kitchen, oxygen.binary-kitchen.net]
roles:
- ldap_pam
- member_sw
- name: Setup monitoring server
hosts: nabia.binary.kitchen
roles:
- icinga
- librenms
- prometheus
- name: Setup netbox server
hosts: epona.binary.kitchen
roles:
- netbox
- name: Setup drone runner
hosts: bob.binary.kitchen
roles:
- drone_runner
- name: Setup file server
hosts: bowle.binary.kitchen
roles:
- fileserver
- pbs
- name: Setup ldap server
hosts: helium.binary-kitchen.net
roles:
- slapd
- bk_dss
- name: Setup mail server
hosts: lithium.binary-kitchen.net
roles:
- mail
- name: Setup web server
hosts: beryllium.binary-kitchen.net
roles:
- web
- name: Setup gitea server
hosts: boron.binary-kitchen.net
roles:
- gitea
- drone
- name: Setup jabber server
hosts: carbon.binary-kitchen.net
roles:
- prosody
- name: Setup nextcloud server
hosts: nitrogen.binary-kitchen.net
roles:
- nextcloud
- name: Setup hackmd server
hosts: fluorine.binary-kitchen.net
roles:
- hackmd
- name: Setup authoritative dns server
hosts: neon.binary-kitchen.net
roles:
- dns_extern
- name: Setup matrix server
hosts: sodium.binary-kitchen.net
roles:
- matrix
- name: Setup turn server
hosts: magnesium.binary-kitchen.net
roles:
- coturn
- name: Setup jitsi server
hosts: zirconium.binary-kitchen.net
roles:
- jitsi
- name: Setup zelle server
hosts: molybdenum.binary-kitchen.net
roles:
- grafana
- name: Setup minecraft server
hosts: ruthenium.binary-kitchen.net
roles:
- web_mc
- name: Setup RC3 pretix server
hosts: rhodium.binary-kitchen.net
roles:
- pretix
- name: Setup WorkAdventure host
hosts: barium.binary-kitchen.net
roles:
- workadventure