Added task to ensure log2ram is running.
authorLuke Hoersten <luke@hoersten.org>
Sat, 20 Jul 2024 13:51:46 -0500
changeset 234 f46b0f7e758c
parent 233 abc2c5c417a7
child 235 f88bb54f63bd
Added task to ensure log2ram is running.
rpi-base/tasks/main.yaml
--- a/rpi-base/tasks/main.yaml	Sat Jul 20 10:22:38 2024 -0500
+++ b/rpi-base/tasks/main.yaml	Sat Jul 20 13:51:46 2024 -0500
@@ -81,3 +81,7 @@
     regexp: "^PasswordAuthentication"
     insertafter: "^#PasswordAuthentication"
     line: "PasswordAuthentication no"
+
+- name: ensure log2ram service is started
+  become: yes
+  systemd: name="log2ram.service" enabled="yes" state="started"