Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/escalate/ansible-raspberry-swap

An Ansible role that manages swap with dphys-swapfile on Raspberry Pi OS
https://github.com/escalate/ansible-raspberry-swap

ansible ansible-role dphys raspberry raspberry-pi raspberrypi self-hosted selfhosted swap swapfile swapoff swapon

Last synced: 2 months ago
JSON representation

An Ansible role that manages swap with dphys-swapfile on Raspberry Pi OS

Awesome Lists containing this project

README

        

[![Test](https://github.com/escalate/ansible-raspberry-swap/actions/workflows/test.yml/badge.svg?branch=master&event=push)](https://github.com/escalate/ansible-raspberry-swap/actions/workflows/test.yml)

# Ansible Role: Raspberry - Swap

An Ansible role that manages [swap](https://wiki.debian.org/Swap) with [dphys-swapfile](http://neil.franklin.ch/Projects/dphys-swapfile/) on Raspberry Pi OS (Debian Bookworm).

## Role Variables

Please see [defaults/main.yml](https://github.com/escalate/ansible-raspberry-swap/blob/master/defaults/main.yml) for a complete list of variables that can be overridden.

## Dependencies

This role relies on the following dependencies:

* Roles: None
* Collections: [requirements.yml](https://github.com/escalate/ansible-raspberry-swap/blob/master/requirements.yml)

## Installation

```
$ ansible-galaxy role install escalate.swap
```

## Example Playbook

```
- hosts: all
roles:
- role: escalate.swap
tags: swap
```

## License

MIT