1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

redundant "when: is_debuntu" (clarify rpi_model & is_rpi issues)

This commit is contained in:
A Holt 2019-08-13 16:10:17 -04:00 committed by GitHub
parent c8f8fcbf0c
commit ea0733ea3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
path: /etc/dphys-swapfile path: /etc/dphys-swapfile
regexp: "^CONF_SWAPSIZE" regexp: "^CONF_SWAPSIZE"
line: "CONF_SWAPSIZE={{ pi_swap_size }}" 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) - name: Restart swap service "dphys-swapfile" (debuntu)
#command: /etc/init.d/dphys-swapfile restart #command: /etc/init.d/dphys-swapfile restart