From 9e46fd5ce42b74303766eeca5ae589b89a37ec25 Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 6 Sep 2018 16:28:02 -0400 Subject: [PATCH] Update 'local.yaml' --- local.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/local.yaml b/local.yaml index 6d1d472..df477f2 100644 --- a/local.yaml +++ b/local.yaml @@ -4,8 +4,6 @@ become: true become_method: sudo tasks: - - name: Installs fail2ban - apt: pkg=fail2ban state=installed update_cache=true - name: download allow file get_url: @@ -24,6 +22,9 @@ dest: /etc/resolv.conf force: yes + - name: Installs fail2ban + apt: pkg=fail2ban state=installed update_cache=true + handlers: - name: start fail2ban service: name=fail2ban state=started