--- a/rpi-base/tasks/main.yml Fri May 01 16:21:21 2020 -0500
+++ b/rpi-base/tasks/main.yml Fri May 01 17:58:26 2020 -0500
@@ -17,6 +17,14 @@
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}}"
@@ -49,7 +57,7 @@
become: yes
authorized_key: user="{{admin_user_name}}" key="https://github.com/{{github_user}}.keys"
-- name: authorize pi ssh keys
+- name: authorize ssh keys
become: yes
authorized_key: user="{{ansible_user}}" key="https://github.com/{{github_user}}.keys"