deployment: get rid of swapfile
parent
615293aba8
commit
37ba4aa07b
|
@ -1,5 +1,11 @@
|
|||
- hosts: bitvend
|
||||
tasks:
|
||||
- hostname: name={{ inventory_hostname }}
|
||||
|
||||
- apt: name=dphys-swapfile state=absent
|
||||
- file: name=/var/swap state=absent
|
||||
- mount: name=/var/log src=tmpfs fstype=tmpfs state=present opts="defaults,noatime,nosuid,mode=0755,size=50m"
|
||||
|
||||
- apt: name="{{ item }}" state=present
|
||||
with_items:
|
||||
- pigpio
|
||||
|
|
Loading…
Reference in New Issue