swap
swap
Ansible role to create and configure swap storage.
Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
Table of content
Requirements
- Minimum Ansible version:
2.10
Default Variables
swap_path
Path to the swapfile to create
Default value
swap_path: /swapfile
swap_size
Size of the swapfile to create
Default value
swap_size: '{{ ansible_memtotal_mb }}'
swap_swappiness
Set vm.swappiness value
Default value
swap_swappiness: '10'
swap_vfs_cache_pressure
Set vm.vfs_cache_pressure value
Default value
swap_vfs_cache_pressure: '50'
Discovered Tags
swap
Dependencies
License
Apache-2.0
Author
Install
ansible-galaxy install rolehippie/swap
License
apache-2.0
Downloads
33
Owner
Ansible role collection of Webhippie