state.archlinux.org.yml 658 Bytes
Newer Older
Florian Pritz's avatar
Florian Pritz committed
1
2
---

3
- name: setup state.archlinux.org (terraform state store)
4
  hosts: state.archlinux.org
Florian Pritz's avatar
Florian Pritz committed
5
6
  remote_user: root
  roles:
7
8
9
10
    - { role: common }
    - { role: tools }
    - { role: firewalld }
    - { role: sshd }
Florian Pritz's avatar
Florian Pritz committed
11
    - { role: certbot }
12
    - { role: borg_client, tags: ["borg"] }
13
    - { role: root_ssh }
Florian Pritz's avatar
Florian Pritz committed
14
15
16
17
18
    - role: postgres
      postgres_listen_addresses: "*"
      postgres_max_connections: 100
      postgres_ssl: 'on'
      postgres_shared_buffers: 512MB
19
20
      postgres_ssl_hosts4: ['0.0.0.0/0']
      postgres_ssl_hosts6: ['::/0']
21
    - { role: terraform_state }
22
    - { role: prometheus_exporters }
23
    - { role: promtail }
24
    - { role: fail2ban }