ansible-swapfile
ansible-swapfile copied to clipboard
Despite Default Role 489M Swap size shown
I just set up swap using the default which should be 512MB
---
swapfile_location: /swapfile
swapfile_size: 512MB
swapfile_swappiness: False
swapfile_vfs_cache_pressure: False
swapfile_use_dd: False
But when I check my Digital Ocean Ubuntu 17.4. 64 bits droplet I see 488 kilobits:
root@larastudio:~# swapon -s
Filename Type Size Used Priority
/swapfile file 499996 0 -1
And when I run ls -lh /swapfile
I get less than 512MB or 489:
root@larastudio:~# ls -lh /swapfile
-rw------- 1 root root 489M Jun 14 09:36 /swapfile
Any ideas why?