src.nth.io/

summaryrefslogtreecommitdiff
path: root/rpi-base
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-07 21:55:46 -0500
committerLuke Hoersten <[email protected]>2020-06-07 21:55:46 -0500
commit370da62d4f62c54ce6e393622d5c9baff9e52789 (patch)
treede3f946b1425e9cd57cbd310f9a816e36ce9c6eb /rpi-base
parent1e68b7ce8921b66c13d04f814cd514b02353b94a (diff)
various updates
Diffstat (limited to 'rpi-base')
-rw-r--r--rpi-base/tasks/main.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/rpi-base/tasks/main.yml b/rpi-base/tasks/main.yml
index 04ae627..185e55b 100644
--- a/rpi-base/tasks/main.yml
+++ b/rpi-base/tasks/main.yml
@@ -17,14 +17,6 @@
become: yes
apt_repository: repo="deb http://packages.azlux.fr/debian/ buster main"
-- name: configure log2ram disk size
- become: yes
- lineinfile:
- path: "/etc/log2ram.conf"
- regexp: "^SIZE="
- line: "SIZE={{rpi_base_log_size}}"
- notify: restart log2ram service
-
- name: set timezone
become: yes
timezone: name="{{rpi_base_timezone}}"
@@ -41,7 +33,15 @@
become: yes
apt: name="{{rpi_base_apt_packages}}" state="latest"
-- name: install fail2ban config
+- name: configure log2ram disk size
+ become: yes
+ lineinfile:
+ path: "/etc/log2ram.conf"
+ regexp: "^SIZE="
+ line: "SIZE={{rpi_base_log_size}}"
+ notify: restart log2ram service
+
+- name: configure fail2ban
become: yes
copy: src="jail.local" dest="/etc/fail2ban/jail.local"