Digital Ocean’s smallest droplet provides 512 MB RAM and 20G of SSD disk space. Frequently that is not enough RAM and too much disk space. A swap file could help with this. So I SSH-ed into my newly provisioned Ubuntu 14.04 droplet to see what the default swap file size was. And ta-da… there is no default swap file.
Gotta add swap file setup to Ansible. Here is a nice github repo that shows how. Of course, we want this to be idempotent. It looks like it is. I ran it a few times and can confirm that it is.