From 1742abb151eef8ab8f829bd2554290be621242a4 Mon Sep 17 00:00:00 2001 From: Stev <44085060+aconitumnapellus@users.noreply.github.com> Date: Thu, 1 Feb 2024 14:12:03 +0100 Subject: [PATCH] (feat): add installation of fail2ban to role --- meta/main.yml | 1 + tasks/installation.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/meta/main.yml b/meta/main.yml index 72f338d..c5dfdb7 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -24,3 +24,4 @@ galaxy_info: collections: - ansible.posix - community.general + - robertdebock.roles diff --git a/tasks/installation.yml b/tasks/installation.yml index fce4df2..e2ba191 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -5,6 +5,10 @@ name: '{{ icinga2_web_packages }}' state: present +- name: install fail2ban using role + ansible.builtin.include_role: + name: robertdebock.roles.fail2ban + # Allow httpd to connect to the mysql database - name: set httpd_can_network_connect_db flag on and keep it persistent across reboots seboolean: