2024-02-11 18:21:54 +01:00
|
|
|
# Beispiel Ansible
|
|
|
|
|
|
|
|
## Erste Schritte
|
|
|
|
|
|
|
|
Du musst einmal die `host_vars/server.example.com.yml` Datei umbennenen und die `inventory` Datei anpassen um deinen Host zu erreichen.
|
|
|
|
In `host_vars/server.example.com.yml` kannst du fail2ban und nftables konfigurieren.
|
|
|
|
|
2024-02-11 18:41:31 +01:00
|
|
|
## Ausführen
|
|
|
|
```
|
|
|
|
ansible-playbook site.yml
|
|
|
|
```
|
|
|
|
|
2024-02-11 18:21:54 +01:00
|
|
|
## Dokumentation
|
|
|
|
|
|
|
|
### nftables
|
|
|
|
- [Rolle](https://github.com/ipr-cnrs/nftables/blob/master/README.md)
|
|
|
|
|
|
|
|
### fail2ban
|
|
|
|
- [Rolle](https://github.com/Oefenweb/ansible-fail2ban/blob/master/README.md)
|
|
|
|
- [Konfiguration](https://github.com/fail2ban/fail2ban/wiki/Proper-fail2ban-configuration)
|
2024-02-11 18:41:31 +01:00
|
|
|
|
|
|
|
### zfs
|
|
|
|
- [Rolle](https://github.com/mrlesmithjr/ansible-zfs/blob/master/README.md)
|