aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/playbook.yml
blob: 2b33539bf2560544624d7fed55b980b33e34f749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
- name: Deploy common services
  hosts: all
  roles:
    - common
    - pydis-mtls

- name: Deploy services to Netcup nodes
  hosts: netcup
  roles:
    - pydis-users
    - certbot
    - alloy
    - nftables
    - prometheus-node-exporter
    - wireguard
    - fail2ban
    - podman
    - unattended-upgrades

- name: Deploy mailservers
  hosts: mail
  roles:
    - opendkim
    - opendmarc
    - postfix

- name: Deploy our monitoring stack
  hosts: monitoring
  roles:
    - prometheus
    - prometheus-blackbox-exporter

- name: Deploy nginx to hosts
  hosts: nginx
  roles:
    - nginx
    - nginx-geoip
    - nginx-cloudflare-mtls

- name: Deploy our PostgreSQL database hosts
  hosts: databases
  roles:
    - postgres
    - prometheus-postgres-exporter

- name: Deploy our LDAP server environment to the LDAP host
  hosts: ldap
  roles:
    - ldap