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
495 B
YAML
18 lines
495 B
YAML
---
|
|
- name: common playbook for mirrors
|
|
hosts: mirrors
|
|
remote_user: root
|
|
roles:
|
|
- { role: common }
|
|
- { role: tools }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: unbound }
|
|
- { role: syncrepo, tags: ['nginx'] }
|
|
- { role: archweb, archweb_site: false, archweb_services: false, archweb_mirrorcheck: true }
|
|
- { role: arch32_mirror, tags: ['nginx'] }
|
|
- { role: prometheus_exporters }
|
|
- { role: fail2ban }
|