add helpers
This commit is contained in:
parent
09f00ce43d
commit
7311cb7528
5
main.tf
5
main.tf
|
@ -30,8 +30,9 @@ resource "null_resource" "fail2ban_exporter" {
|
|||
"echo '# install helpers'",
|
||||
"ln -s /etc/fail2ban /root/fail2ban",
|
||||
"ln -s 'fail2ban-client status' /etc/fail2ban/0_status",
|
||||
"ln -s 'fail2ban-client set sshd unbanip x.x.x.x' /etc/fail2ban/1_unban",
|
||||
"ln -s 'fail2ban-client reload sshd' /etc/fail2ban/2_reload",
|
||||
"ln -s 'fail2ban-client banned' /etc/fail2ban/1_banned",
|
||||
"ln -s 'fail2ban-client unban <ip> <ip>' /etc/fail2ban/1_unban",
|
||||
"ln -s 'fail2ban-client reload' /etc/fail2ban/2_reload",
|
||||
#
|
||||
"echo '## fail2ban-prometheus-exporter'",
|
||||
# dw binary -- DONT WORK on alpine
|
||||
|
|
Loading…
Reference in New Issue