swap

swap

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to create and configure swap storage.

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

Thomas Boerger

About

Ansible role to create and configure swap storage

Install
ansible-galaxy install rolehippie/swap
GitHub repository
License
apache-2.0
Downloads
33
Owner
Ansible role collection of Webhippie