library/roles/ubuntu-deb-general/tasks/main.yml: Execute the denyhosts part twice, with two different sets of conditionals (sigh)

This commit is contained in:
Andrea Dell'Amico 2015-08-12 19:58:42 +02:00
parent eeac0b7c6d
commit 45e8cb392c
1 changed files with 3 additions and 1 deletions

View File

@ -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