mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-28 18:31:59 +02:00
992f81d766
For all hosts we want to have a working fail2ban for sshd brute force attempts through a group_vars/all. For some hosts an override is required to enable postfix or dovecot jails.
22 lines
523 B
YAML
22 lines
523 B
YAML
---
|
|
|
|
- name: setup Keycloak server
|
|
hosts: accounts.archlinux.org
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: firewalld }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- role: postgres
|
|
postgres_shared_buffers: 500MB
|
|
postgres_work_mem: 32MB
|
|
postgres_maintenance_work_mem: 1GB
|
|
postgres_effective_cache_size: 1GB
|
|
- { role: keycloak }
|
|
- { role: borg_client, tags: ["borg"] }
|
|
- { role: fail2ban }
|