ansible/site.yml

91 lines
1.4 KiB
YAML

---
- name: Setup common roles on all hosts
hosts: all
roles:
- common
- ntp
- root-keys
- name: Setup BK infrastructure server
hosts: [bacon.binary.kitchen, aveta.binary.kitchen]
roles:
- dns-intern
- dhcpd
- slapd
- radius
- name: Setup BK member server
hosts: sulis.binary.kitchen
roles:
- ldap-pam
- member-sw
- uau
- name: Setup BK monitoring server
hosts: nabia.binary.kitchen
roles:
- librenms
- prometheus
- racktables
- uau
- acme
- name: Install Check_MK Agent
hosts: [bacon.binary.kitchen,forseti.binary.kitchen]
roles:
- checkmk-agent
- 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
- uau
- name: Setup gogs server
hosts: boron.binary-kitchen.net
roles:
- gogs
- uau
- name: Setup jabber server
hosts: carbon.binary-kitchen.net
roles:
- prosody
- uau
- name: Setup owncloud server
hosts: nitrogen.binary-kitchen.net
roles:
- owncloud
- uau
- name: Setup member server
hosts: oxygen.binary-kitchen.net
roles:
- ldap-pam
- member-sw
- uau
- name: Setup hackmd server
hosts: fluorine.binary-kitchen.net
roles:
- hackmd
- uau
- name: Setup primary dns server
hosts: neon.binary-kitchen.net
roles:
# - dns-extern