mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
500 -> {{ pi_swap_size }}
This commit is contained in:
parent
3c0a12240f
commit
f9b29b17da
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=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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue