diff options
| author | Luke Hoersten <[email protected]> | 2026-03-23 22:22:36 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-03-23 22:22:36 -0500 |
| commit | 1859f62813f0c586ea49f912944fb25efd60520f (patch) | |
| tree | 5e92465f6e24cda9f4c38c2c2c00d0c0ccd7c525 /rpi-base/tasks | |
| parent | b7fbbf6810d4d53ca7a0afca31134181f7025a67 (diff) | |
Fixed log rotation and log2ram sizing.
Diffstat (limited to 'rpi-base/tasks')
| -rw-r--r-- | rpi-base/tasks/main.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rpi-base/tasks/main.yaml b/rpi-base/tasks/main.yaml index 390134a..c9626b6 100644 --- a/rpi-base/tasks/main.yaml +++ b/rpi-base/tasks/main.yaml @@ -40,6 +40,15 @@ become: yes copy: src="20auto-upgrades" dest="/etc/apt/apt.conf.d/20auto-upgrades" +- name: configure logrotate + become: yes + copy: src="logrotate.conf" dest="/etc/logrotate.conf" + +- name: configure journald max size + become: yes + copy: src="journald.conf" dest="/etc/systemd/journald.conf" + notify: restart journald + - name: configure log2ram disk size become: yes lineinfile: |
