Skip to content

cloudpunks/ansible-swap

 
 

Repository files navigation

swap

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

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 contents


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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Nix 87.8%
  • Python 12.2%