ansible-swapfile
ansible-swapfile copied to clipboard
A swapfile role for Ansible
I remember having some problems earlier in the year and made some modifications that fixed it. I didn't feel confident to submit the PR then and less so now (as...
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...
Repo link to Ansible Galaxy Role https://galaxy.ansible.com/detail#/role/1262 is a dead link. As in it doesn't load anything at the moment.
Could semantic versioning be used?
@kamaln7 I added become: true and become_method: sudo to these actions for my use case. Any inputs for making it generic? Will be happy to submit a PR.
Either a bug or a warning, {{ swapfile_size }} having the units in the example doesn't work if you fall-back to dd, as the corresponding "count" parameter for dd should...
E.g. https://github.com/geerlingguy/ansible-role-mysql/blob/master/.travis.yml
It seems like this role is tearing down and setting up the swapfile every time I run my playbook. I am pretty sure that it left the swapfile alone if...