aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/setup_fail2ban/tasks/main.yml10
-rw-r--r--roles/setup_utils/tasks/main.yml12
2 files changed, 17 insertions, 5 deletions
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
remember that computers suck.