Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominiquecomte/raspberrypi_lan
Ansible role to set up a Raspberry Pi on a LAN
https://github.com/dominiquecomte/raspberrypi_lan
ansible ansible-role debian raspberry-pi
Last synced: 6 days ago
JSON representation
Ansible role to set up a Raspberry Pi on a LAN
- Host: GitHub
- URL: https://github.com/dominiquecomte/raspberrypi_lan
- Owner: DominiqueComte
- License: unlicense
- Created: 2021-12-19T13:44:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T01:50:57.000Z (about 3 years ago)
- Last Synced: 2024-12-19T21:31:52.745Z (2 months ago)
- Topics: ansible, ansible-role, debian, raspberry-pi
- Language: Jinja
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Raspberry LAN Role
=========A role to set up a Raspberry Pi for some LAN services.
Requirements
------------A Raspberry Pi
A rSyslog serverRole Variables
--------------For the apt task:
The 2 URLs are for 2 Nexus 3 APT mirror repositories.
* apt_main_mirror_url: changeme
* APT mirror settings:
* distribution: buster
* remote storage: http://raspbian.raspberrypi.org/raspbian/ (from the APT original settings)
* apt_archive_mirror_url: changeme
* distribution: buster
* remote storage: http://archive.raspberrypi.org/debian/ (from the APT original settings)For the rsyslog task:
* rsyslog_service: rsyslog
* the rsyslog service name
* rsyslog_server_hostname: changeme
* the hostname of the rsyslog service. leave it to "changeme" to skip the task.
* rsyslog_forward_rule_name: 00central_log_server.conf
* the name of the rule file to create in /etc/rsyslog.dFor the unattended upgrades:
* unattended_upgrades_email_address: [email protected]
* leave the default value to skip setting up email notifications
* unattended_upgrades_auto_reboot: false
* reboot automatically when necessary, or not.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:
- ansible-role-raspberry-lanLicense
-------Unlicensed