deployment: get rid of swapfile

feature/cython
informatic 2018-06-10 19:48:31 +02:00
parent 615293aba8
commit 37ba4aa07b
1 changed files with 6 additions and 0 deletions

View File

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