From 45e8cb392c2ee48de435c5d0d2f5b1c103c197f5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 12 Aug 2015 19:58:42 +0200 Subject: [PATCH] library/roles/ubuntu-deb-general/tasks/main.yml: Execute the denyhosts part twice, with two different sets of conditionals (sigh) --- ubuntu-deb-general/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ubuntu-deb-general/tasks/main.yml b/ubuntu-deb-general/tasks/main.yml index 93cb5832..ade07398 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 +- include: denyhost.yml + when: is_ubuntu_less_than_trusty - include: munin.yml when: configure_munin - include: pubkeys.yml