From c856196a3471a2e7d547a11ec42d69f13a8fe31a Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 12 Aug 2020 11:01:36 +0200 Subject: out of sync between remotes --- roles/setup_fail2ban/tasks/main.yml | 10 +++++----- roles/setup_utils/tasks/main.yml | 12 ++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'roles') diff --git a/roles/setup_fail2ban/tasks/main.yml b/roles/setup_fail2ban/tasks/main.yml index b0edb6e..d96bc07 100644 --- a/roles/setup_fail2ban/tasks/main.yml +++ b/roles/setup_fail2ban/tasks/main.yml @@ -23,7 +23,7 @@ shell: cp /etc/fail2ban/jail.local /etc/fail2ban/jail.local.backup when: stat_result.stat.exists -- name: Copy fail2ban :: jail.local +- name: Copy fail2ban jail.local copy: src: jail.local dest: /etc/fail2ban/ @@ -31,7 +31,7 @@ group: root mode: "0644" -- name: Copy fail2ban :: path-defaults.conf +- name: Copy fail2ban path-defaults.conf copy: src: jail.local dest: /etc/fail2ban/ @@ -39,7 +39,7 @@ group: root mode: "0644" -- name: Copy fail2ban :: path-defaults.conf +- name: Copy fail2ban path-defaults.conf copy: src: jail.local dest: /etc/fail2ban/ @@ -47,7 +47,7 @@ group: root mode: "0644" -- name: Copy fail2ban :: jail-sshd.conf +- name: Copy fail2ban jail-sshd.conf copy: src: jail-sshd.conf dest: /etc/fail2ban/jail.d @@ -55,7 +55,7 @@ group: root mode: "0644" -- name: Copy fail2ban :: jail-lighttpd.conf +- name: Copy fail2ban jail-lighttpd.conf copy: src: jail-lighttpd.conf dest: /etc/fail2ban/jail.d diff --git a/roles/setup_utils/tasks/main.yml b/roles/setup_utils/tasks/main.yml index 446ec46..65e810a 100644 --- a/roles/setup_utils/tasks/main.yml +++ b/roles/setup_utils/tasks/main.yml @@ -25,6 +25,18 @@ state: present ignore_errors: yes +- name: Check installation of curl + package: + name: "{{ package_curl }}" + state: present + ignore_errors: yes + +- name: Check installation of wget + package: + name: "{{ package_wget }}" + state: present + ignore_errors: yes + - name: Copy zshrc configuration file copy: src: zshrc -- cgit v1.2.3