mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
pi_swap_size -> pi_swap_file_size
This commit is contained in:
parent
5e8d922b62
commit
bb40a34569
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue