mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
ensure dphys-swapfile fake-hwclock are installed
This commit is contained in:
parent
eca80a289a
commit
e48d56dfb9
1 changed files with 7 additions and 1 deletions
|
@ -24,12 +24,18 @@
|
|||
state: present
|
||||
when: rtc_id is defined and rtc_id != "none" and is_ubuntu
|
||||
|
||||
- name: Install dphys-swapfile fake-hwclock
|
||||
package:
|
||||
name:
|
||||
- dphys-swapfile
|
||||
- fake-hwclock
|
||||
state: present
|
||||
|
||||
- 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_file_size }}"
|
||||
when: is_raspbian | bool
|
||||
|
||||
- name: Restart swap service "dphys-swapfile" (debuntu)
|
||||
#command: /etc/init.d/dphys-swapfile restart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue