I\'m working on a project where having swap memory on my servers is a needed to avoid some python long running processes to go out of memory and realized for the first time that
What works for me is to add 4Gib swap through the playbook.
Check this:
.