An open API service indexing awesome lists of open source software.

https://github.com/aboutbits/ansible-swap

Ansible - Swap Role
https://github.com/aboutbits/ansible-swap

ansible ansible-role swap

Last synced: 12 months ago
JSON representation

Ansible - Swap Role

Awesome Lists containing this project

README

          

Ansible Swap Role
=================

Swap creation role.

## Role Variables

- `swap_size`: The size of the swap file

## Example Playbook

```yaml
- hosts: all
tasks:
- ansible.builtin.include_role:
name: ansible-swap
vars:
swap_size: '1G'
```

## Versioning

In order to have a verioning in place and working, create leightweight tags that point to the appropriate minor release versions.

Creating a new minor release:

```bash
git tag v2
git push --tags
```

Replacing an already existing minor release:

```bash
git tag -d v2
git push origin :refs/tags/v2
git tag v2
git push --tags
```