diff --git a/README.md b/README.md index 0edea84..e3283cc 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The following have been tested with Debian 8, it should work on Ubuntu as well. ### Fail2Ban configuration -* `gitea_install_fail2ban_config`: Wether to deploy the fail2ban config snippets +* `gitea_fail2ban_enabled`: Wether to deploy the fail2ban config snippets ## Disclaimer This module is currently a work in progress. For now it is only able to install diff --git a/defaults/main.yml b/defaults/main.yml index 62cc461..1e00988 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -41,4 +41,4 @@ gitea_mailer_skip_verify: true gitea_mailer_host: localhost:25 gitea_mailer_from: noreply@your.domain -gitea_install_fail2ban_config: false +gitea_fail2ban_enabled: false diff --git a/tasks/main.yml b/tasks/main.yml index 357fd49..c03ccea 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -43,4 +43,4 @@ enabled: true - include: fail2ban.yml - when: gitea_install_fail2ban_config \ No newline at end of file + when: gitea_fail2ban_enabled \ No newline at end of file