Skip to content

facastagnini/ansible-raspberrypi-baseline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible baseline configuration for raspberrypi

Build Status

This is a baseline configuration for Raspberry Pi. It will configure the basic stuff that is common to all my raspberry pi installations like ssh, ntp, etc. Check the list of features.

Demo

Features

  • ntp
  • locale set to en_US.UTF-8
  • timezone set to UTC
  • duckdns.org sample cronjob
  • automatic-upgrades
  • creates my username (ssh pubkey, zsh+zprezto)
  • sudo
  • ssh hardneded
  • fail2ban
  • installs common software
  • removes unwanted packages
  • disable_ipv6
  • config.txt
    • disable audio to avoid loading an extra kernel module (snd_bcm2835)
    • gpu_mem=16
  • enable tmpfs for /tmp

Installation

$ ssh pi@raspberrypi (the default password is 'raspberry')
$ curl -sL https://raw.githubusercontent.com/facastagnini/ansible-raspberrypi-baseline/master/bootstrap.sh | sudo bash

How to develop

  1. pre-requisites
brew update
brew cask install virtualbox
brew cask install vagrant

# vagrant plugins
vagrant plugin install vagrant-cachier
  1. fork this repo and clone
  2. Bring up the test machine
cd ansible-raspberrypi-baseline
vagrant up

Contributing and Development

Bugs and PRs are welcome! I code and test with vagrant, then I test on a fresh raspberry pi.

About

Baseline raspberry pi configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages