From 370da62d4f62c54ce6e393622d5c9baff9e52789 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 7 Jun 2020 21:55:46 -0500 Subject: various updates --- rpi-base/tasks/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'rpi-base') 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" -- cgit v1.2.3