Ansible role to setup swap memory on a Ubuntu server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
meta
tasks
README.md

README.md

Ansible role: Swapmem

This sets up Swap space on a server if not already available. The setup swap space size will be twice the total system RAM size.

Dependencies

None.

Example Playbook

This role requires Ansible facts, so ensure gather_facts is turned on:

- hosts: servers
  gather_facts: yes
  roles:
     - hiddentao.swapmem

License

MIT

Author Information

By Ramesh Nair