From ea0733ea3da490edcb97936aa144fe2cc7e3173f Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 13 Aug 2019 16:10:17 -0400 Subject: [PATCH] redundant "when: is_debuntu" (clarify rpi_model & is_rpi issues) --- roles/1-prep/tasks/raspberry_pi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/1-prep/tasks/raspberry_pi.yml b/roles/1-prep/tasks/raspberry_pi.yml index c8b0e41f7..e8b6aaf46 100644 --- a/roles/1-prep/tasks/raspberry_pi.yml +++ b/roles/1-prep/tasks/raspberry_pi.yml @@ -37,7 +37,7 @@ path: /etc/dphys-swapfile regexp: "^CONF_SWAPSIZE" line: "CONF_SWAPSIZE={{ pi_swap_size }}" - when: is_debuntu | bool + 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) #command: /etc/init.d/dphys-swapfile restart