mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
cleanup for readability
This commit is contained in:
parent
54ab22e932
commit
38a87bbcc1
1 changed files with 4 additions and 5 deletions
|
@ -26,23 +26,23 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
when: rtc_id != "none"
|
when: rtc_id != "none"
|
||||||
|
|
||||||
- name: pre-Install packages
|
- name: Pre-install packages
|
||||||
package: name={{ item }}
|
package: name={{ item }}
|
||||||
state=latest
|
state=latest
|
||||||
with_items:
|
with_items:
|
||||||
- ntp
|
- ntp
|
||||||
|
|
||||||
- name: increase the swap file size (kalite pip download fails)
|
- name: Increase the swap file size (kalite pip download fails)
|
||||||
lineinfile: regexp="^CONF_SWAPSIZE"
|
lineinfile: regexp="^CONF_SWAPSIZE"
|
||||||
line=CONF_SWAPSIZE=500
|
line=CONF_SWAPSIZE=500
|
||||||
dest=/etc/dphys-swapfile
|
dest=/etc/dphys-swapfile
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: restart the swap service
|
- name: Restart the swap service
|
||||||
command: /etc/init.d/dphys-swapfile restart
|
command: /etc/init.d/dphys-swapfile restart
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Add rpi rootfs resizing service
|
- name: Add RPi rootfs resizing service
|
||||||
template: src={{ item.src }}
|
template: src={{ item.src }}
|
||||||
dest={{ item.dest }}
|
dest={{ item.dest }}
|
||||||
owner=root
|
owner=root
|
||||||
|
@ -55,4 +55,3 @@
|
||||||
- name: Enable rootfs resizing service
|
- name: Enable rootfs resizing service
|
||||||
service: name=iiab-rpi-root-resize
|
service: name=iiab-rpi-root-resize
|
||||||
enabled=yes
|
enabled=yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue