forked from infra/ansible
81 lines
1.5 KiB
YAML
81 lines
1.5 KiB
YAML
---
|
|
|
|
- name: Setup common roles on all hosts
|
|
hosts: all
|
|
roles:
|
|
- common
|
|
- ntp
|
|
- root-keys
|
|
|
|
- name: Setup unattended updates
|
|
hosts: [sulis.binary.kitchen, nabia.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, krypton.binary-kitchen.net]
|
|
roles:
|
|
- uau
|
|
|
|
- name: Setup BK infrastructure server
|
|
hosts: [bacon.binary.kitchen, aveta.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 BK monitoring server
|
|
hosts: nabia.binary.kitchen
|
|
roles:
|
|
- librenms
|
|
- prometheus
|
|
- racktables
|
|
|
|
- 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 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 hackmd server
|
|
hosts: fluorine.binary-kitchen.net
|
|
roles:
|
|
- hackmd
|
|
|
|
- name: Setup primary dns server
|
|
hosts: neon.binary-kitchen.net
|
|
roles:
|
|
- dns-extern
|
|
|
|
- name: Setup partdb server
|
|
hosts: krypton.binary-kitchen.net
|
|
roles:
|
|
- partdb
|