ansible/site.yml

55 lines
873 B
YAML

---
- name: Setup common roles on all hosts
hosts: all
roles:
- common
- ntp
- name: Setup infrastructure server
hosts: bacon.binary.kitchen
roles:
- dns
- name: Setup monitoring server
hosts: nabia.binary.kitchen
roles:
- librenms
- racktables
- name: Setup ldap server
hosts: helium.binary-kitchen.net
roles:
- ldap-server
- name: Setup mail server
hosts: lithium.binary-kitchen.net
roles:
- mail
- name: Setup web server
hosts: beryllium.binary-kitchen.net
roles:
- web
- name: Setup gogs server
hosts: boron.binary-kitchen.net
roles:
- gogs
- name: Setup jabber server
hosts: carbon.binary-kitchen.net
roles:
- prosody
- name: Setup owncloud server
hosts: nitrogen.binary-kitchen.net
roles:
- owncloud
- name: Setup member server
hosts: oxygen.binary-kitchen.net
roles:
- ldap-pam
- member-sw