ce-provision

Swap

General role to add swap space to servers. By default, role is set to add 4G of swap space. As a general rule of thumb, swap should be set to 2.5 times the amount of RAM. So if a server has 2G RAM, we should set swap to 5G by setting size: "5G" in the variables for that server.

Be sure to match the count variable to the size variable, the count variable will dictate the amount of swap.

Default variables

---
swap:
  count: 4096
  size: "4G"
  swap_space: /var/swap/swapfile