From 66bb6e3db48e02e96a94efb7b868c9f8aa26869e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 22 Mar 2019 17:27:53 +0100 Subject: [PATCH] Fix the packages installation task. --- fail2ban/tasks/fail2ban.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fail2ban/tasks/fail2ban.yml b/fail2ban/tasks/fail2ban.yml index 74e76d7..6b00765 100644 --- a/fail2ban/tasks/fail2ban.yml +++ b/fail2ban/tasks/fail2ban.yml @@ -1,7 +1,6 @@ --- - name: Install fail2ban on ubuntu >= 14.04 and debian >= 8 - apt: pkg={{ item }} state=present - with_items: '{{ f2b_packages }}' + apt: pkg={{ f2b_packages }} state=present tags: fail2ban - name: Ensure that fail2ban is enabled and running