Skip to content

ctarx/rpi-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-ansible

Initial setup of a Raspberry Pi with Ansible

Install Raspberry Pi OS

I install Raspberry Pi OS using Raspberry Pi Imager

$ sudo apt install rpi-imager

shift+ctrl+x for an advance options and setup:

  • hostname
  • disable overscan
  • authorized_keys
  • username and password
  • wifi
  • locale
  • keyboard layout
  • skip first-run wizard

Ansible

$ ssh-copy-id -i ~/.ssh/ansible.pub rpi.ip.address
$ ansible-playbook run.yml

Extras

LCD-show for 3.5inch RPi Display

$ cd tasks
$ ansible-playbook lcd.yml

Contact

Created by @ctarx - feel free to contact me!

About

Setup a Raspberry Pi using Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published