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.
18 lines
524 B
YAML
18 lines
524 B
YAML
- name: setup prometheus server
|
|
hosts: monitoring.archlinux.org
|
|
remote_user: root
|
|
roles:
|
|
- { role: firewalld }
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: hardening }
|
|
- { role: borg_client, tags: ["borg"], when: "'borg_clients' in group_names" }
|
|
- { role: prometheus }
|
|
- { role: prometheus_exporters }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: grafana, grafana_domain: 'monitoring.archlinux.org' }
|
|
- { role: fail2ban }
|