From f9b29b17da1e095e3b058873249823f158e00b25 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 13 Aug 2019 14:47:10 -0400 Subject: [PATCH] 500 -> {{ pi_swap_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 22efe6934..c8b0e41f7 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=500 in /etc/dphys-swapfile) as kalite pip download fails (debuntu) +- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_size }} in /etc/dphys-swapfile) as kalite pip download fails (debuntu) lineinfile: path: /etc/dphys-swapfile regexp: "^CONF_SWAPSIZE" - line: CONF_SWAPSIZE=500 + line: "CONF_SWAPSIZE={{ pi_swap_size }}" when: is_debuntu | bool - name: Restart swap service "dphys-swapfile" (debuntu)