https://github.com/aboutbits/ansible-swap
Ansible - Swap Role
https://github.com/aboutbits/ansible-swap
ansible ansible-role swap
Last synced: about 1 month ago
JSON representation
Ansible - Swap Role
- Host: GitHub
- URL: https://github.com/aboutbits/ansible-swap
- Owner: aboutbits
- Created: 2020-04-24T08:10:51.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-09-01T08:10:41.000Z (10 months ago)
- Last Synced: 2025-09-01T10:41:49.017Z (10 months ago)
- Topics: ansible, ansible-role, swap
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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'
```
## Build & Publish
To build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.