## [![DebOps project](http://debops.org/images/debops-small.png)](http://debops.org) swapfile

<!-- This file was generated by Ansigenome. Do not edit this file directly but
     instead have a look at the files in the ./meta/ directory. -->

[![Travis CI](http://img.shields.io/travis/debops/ansible-swapfile.svg?style=flat)](http://travis-ci.org/debops/ansible-swapfile) [![test-suite](http://img.shields.io/badge/test--suite-ansible--swapfile-blue.svg?style=flat)](https://github.com/debops/test-suite/tree/master/ansible-swapfile/)  [![Ansible Galaxy](http://img.shields.io/badge/galaxy-debops.swapfile-660198.svg?style=flat)](https://galaxy.ansible.com/detail#/role/5618)

This Ansible role lets you manage one or multiple swap files. You can also
manage kernel parameters related to how swap is used by the system.

Note that this role can not setup a swap file on a BTRFS filesystem.

### Installation

This role requires at least Ansible `v1.9.0`. To install it, run:

```Shell
ansible-galaxy install debops.swapfile
```

### Documentation

More information about `debops.swapfile` can be found in the
[official debops.swapfile documentation](http://docs.debops.org/en/latest/ansible/roles/ansible-swapfile/docs/).



### Are you using this as a standalone role without DebOps?

You may need to include missing roles from the [DebOps common
playbook](https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml)
into your playbook.

[Try DebOps now](https://github.com/debops/debops) for a complete solution to run your Debian-based infrastructure.





### Authors and license

`swapfile` role was written by:

- Maciej Delmanowski | [e-mail](mailto:drybjed@gmail.com) | [Twitter](https://twitter.com/drybjed) | [GitHub](https://github.com/drybjed)

License: [GPLv3](https://tldrlegal.com/license/gnu-general-public-license-v3-%28gpl-3%29)

***

This role is part of the [DebOps](http://debops.org/) project. README generated by [ansigenome](https://github.com/nickjj/ansigenome/).
