aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/playbook.yml
blob: ad8f2ade379a0d3483af0f148fe71e6723befce3 (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
- name: Deploy common services
  hosts: all
  roles:
    - common
    - pydis-users
    - nftables
    - prometheus-node-exporter
    - wireguard
    - fail2ban
    - podman
    - unattended-upgrades

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

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

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