From bb40a345691afc1d931c6ed941b6a667eac9ef26 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 13 Aug 2019 16:20:24 -0400 Subject: [PATCH] pi_swap_size -> pi_swap_file_size --- roles/1-prep/tasks/raspberry_pi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/1-prep/tasks/raspberry_pi.yml b/roles/1-prep/tasks/raspberry_pi.yml index e8b6aaf46..11b23e651 100644 --- a/roles/1-prep/tasks/raspberry_pi.yml +++ b/roles/1-prep/tasks/raspberry_pi.yml @@ -32,11 +32,11 @@ name: ntp state: latest -- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_size }} in /etc/dphys-swapfile) as kalite pip download fails (debuntu) +- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_file_size }} in /etc/dphys-swapfile) as kalite pip download fails (debuntu) lineinfile: path: /etc/dphys-swapfile regexp: "^CONF_SWAPSIZE" - line: "CONF_SWAPSIZE={{ pi_swap_size }}" + line: "CONF_SWAPSIZE={{ pi_swap_file_size }}" when: is_debuntu | bool # Redundant, given raspberry_pi.yml is only run when rpi_model: "rpi" (similar to is_rpi: True). Until someone tries a non-debuntu OS on RPi? - name: Restart swap service "dphys-swapfile" (debuntu)