https://github.com/dominiquecomte/raspberrypi_firstboot
Ansible Playbook to reset the known SSH keys of a pile of Raspberry Pi
https://github.com/dominiquecomte/raspberrypi_firstboot
ansible ansible-playbook ansible-roles raspberry-pi
Last synced: about 2 months ago
JSON representation
Ansible Playbook to reset the known SSH keys of a pile of Raspberry Pi
- Host: GitHub
- URL: https://github.com/dominiquecomte/raspberrypi_firstboot
- Owner: DominiqueComte
- License: bsd-3-clause
- Created: 2022-01-16T22:26:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T01:47:33.000Z (over 4 years ago)
- Last Synced: 2025-04-06T11:49:10.033Z (about 1 year ago)
- Topics: ansible, ansible-playbook, ansible-roles, raspberry-pi
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Raspberry FirstBoot Ansible Playbook
=========
An Ansible Playbook for when a pile of Raspberry Pi is booted for the first time or has been reset.
It removes the known SSH keys from the local known_hosts file and copies the local SSH key to the Raspberry Pis using the default SSH password.
Requirements
------------
- A Linux computer that runs Ansible.
- A SSH key already generated locally.
- Raspberry Pi computer(s) to connect to remotely.
Role Variables
--------------
None.
Dependencies
------------
None.
Example Playbook
----------------
See setup.yml file.
- hosts: all
gather_facts: no
vars:
ansible_python_interpreter: /usr/bin/python3
ansible_user: pi
ansible_become: no
roles:
- raspberry_firstboot
License
-------
BSD
Author Information
------------------
Dominique Comte.