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

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

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

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