From 72e03b7851b245142150c3e8923952763b551361 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 1 Aug 2015 12:57:03 +0200 Subject: [PATCH] library/roles/fail2ban: Fix the tests on the distributions versions, again. infrastructure-services/group_vars/images_provider/main.yml: Install the linux kernel headers, otherwise the virtualbox modules aren't compiled. --- fail2ban/tasks/main.yml | 4 +--- ubuntu-deb-general/tasks/main.yml | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fail2ban/tasks/main.yml b/fail2ban/tasks/main.yml index 4cf02202..3990764e 100644 --- a/fail2ban/tasks/main.yml +++ b/fail2ban/tasks/main.yml @@ -1,5 +1,3 @@ --- - include: fail2ban.yml - when: - - is_trusty - - is_debian8 + when: ( is_trusty ) or ( is_debian8 ) diff --git a/ubuntu-deb-general/tasks/main.yml b/ubuntu-deb-general/tasks/main.yml index 36bdd54a..0c2d74d9 100644 --- a/ubuntu-deb-general/tasks/main.yml +++ b/ubuntu-deb-general/tasks/main.yml @@ -10,7 +10,9 @@ - include: disable-ipv6-old-servers.yml when: disable_ipv6 - include: denyhost.yml - when: is_debian_7_or_older or is_ubuntu_less_than_trusty + when: + - is_debian_7_or_older + - is_ubuntu_less_than_trusty - include: munin.yml when: configure_munin - include: pubkeys.yml