1
0
Fork 0
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:
A Holt 2019-08-13 14:47:10 -04:00 committed by GitHub
parent 3c0a12240f
commit f9b29b17da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)