https://github.com/dominiquecomte/raspberrypi_headless
Ansible role to set up a Raspberry Pi as headless
https://github.com/dominiquecomte/raspberrypi_headless
ansible-role raspberry-pi
Last synced: 2 months ago
JSON representation
Ansible role to set up a Raspberry Pi as headless
- Host: GitHub
- URL: https://github.com/dominiquecomte/raspberrypi_headless
- Owner: DominiqueComte
- License: unlicense
- Created: 2021-12-19T13:47:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T01:49:37.000Z (over 4 years ago)
- Last Synced: 2025-04-06T11:49:09.362Z (about 1 year ago)
- Topics: ansible-role, raspberry-pi
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Raspberry Headless Setup
=========
Sets up a Raspberry Pi for headless use.
It disables audio and swap, sets up the hostname, default locale and default timezone.
It also sets up some directories with frequent file writing to use tmpfs.
Requirements
------------
A Raspberry Pi.
Role Variables
--------------
* system_locale: "en_US.UTF-8"
* system_timezone: "Europe/Paris"
* system_tmpfs_mounts: list of filesystems to set up
- { src: "/run", size: "10%", options: "nodev,noexec,nosuid" }
- { src: "/tmp", size: "10%", options: "nodev,nosuid" }
- { src: "/var/log", size: "10%", options: "nodev,noexec,nosuid" }
Dependencies
------------
None.
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- raspberrypi_headless
License
-------
Unlicensed.