Closed geerlingguy closed 9 years ago
# Disable swap. sudo swapoff -a # Remove swap file. sudo rm -f /var/swap
Can we automate this in the playbook—and if so, will the swapfile be automatically recreated correctly next time the system is booted?
It can definitely be automated... working on updating the docs now. On reboot, the 100M swap file at /var/swap is recreated.
/var/swap
Can we automate this in the playbook—and if so, will the swapfile be automatically recreated correctly next time the system is booted?