2022-11-30 17:13:30 +00:00
|
|
|
Terraform module to install fail2ban up & running
|
|
|
|
|
2022-12-06 16:23:44 +00:00
|
|
|
Module prometheus
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
:url: /metrics
|
|
|
|
:port: 9191
|
|
|
|
|
2022-11-30 17:13:30 +00:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
In the root terraform add::
|
|
|
|
|
|
|
|
module "fail2ban" {
|
2022-12-06 16:23:44 +00:00
|
|
|
source = "git::https://git.dalembert.upmc.fr/terraform/module_alpine_fail2ban"
|
|
|
|
connection_ip = var.eth0_ip
|
|
|
|
connection_private_key = file(var.pm_private_key)
|
|
|
|
fail2ban_exporter_version = var.fail2ban_exporter_version
|
2022-11-30 17:13:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.. vim: spelllang=fr:
|
|
|
|
|