diff options
| author | Luke Hoersten <[email protected]> | 2020-06-07 21:55:46 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-06-07 21:55:46 -0500 |
| commit | 370da62d4f62c54ce6e393622d5c9baff9e52789 (patch) | |
| tree | de3f946b1425e9cd57cbd310f9a816e36ce9c6eb /rpi-base/tasks | |
| parent | 1e68b7ce8921b66c13d04f814cd514b02353b94a (diff) | |
various updates
Diffstat (limited to 'rpi-base/tasks')
| -rw-r--r-- | rpi-base/tasks/main.yml | 18 |
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" |
