Skip to content

alecigne/raspberrypi-ansible-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project is a way to familiarize myself with Ansible. The goal is to configure a Raspberry Pi with a freshly installed Raspbian Lite OS on my local network.

Prerequisites

  1. Write a Raspian Lite image to the SD card. Enable SSH by placing a file named “ssh” onto the SD card’s boot partition.
  2. Enable Internet access on the managed Rasperry Pi (just plug an Ethernet cable in or configure the Wi-Fi credentials).
  3. Use ssh-copy-id on the control node to use PKA for SSH.
  4. Make the Raspberry Pi’s IP static in the router settings.

Using Ansible

Check if the Pi is accessible :

ansible -i hosts -m ping all

About

Configuring a Raspberry Pi with Ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published