Provision remote f2b key with ansible

This commit is contained in:
Jake Howard
2022-01-21 22:11:49 +00:00
parent e8d4244946
commit 6db0500e1b
5 changed files with 53 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[Definition]
actionban = ssh -p 7743 f2b@{{ nebula.clients.casey.ip }} -i /root/.ssh/f2b/id_ed25519 set traefik banip <ip>
actionunban = ssh -p 7743 f2b@{{ nebula.clients.casey.ip }} -i /root/.ssh/f2b/id_ed25519 set traefik unbanip <ip>
actionban = ssh -p 7743 f2b@{{ nebula.clients.casey.ip }} -i /etc/fail2ban/f2b_key.key set traefik banip <ip>
actionunban = ssh -p 7743 f2b@{{ nebula.clients.casey.ip }} -i /etc/fail2ban/f2b_key.key set traefik unbanip <ip>
actioncheck =
actionstart =
actionstop =