Code Monkey home page Code Monkey logo

ansible-raspi-config's Introduction

ansible-raspi-config

This playbook configure basic settings for the Raspberry Pi headless thanks to Ansible. No needs to run raspi-config utility on a display!

Heavily based on the raspi-config nonint option, but NOT 100% ported! Change vars at the beginning of raspi-config.yml file and hosts to suit your needs.

Run with: ansible-playbook -i hosts raspi-config.yml Don't forget to touch ssh in the SD /boot partitions!

Works:

  • Change hostname
  • Set boot behaviour (cli/desktop/autologin)
  • Change locale
  • Change timezone
  • Change keyboard layout
  • Enable/Disable Camera, SSH, VNC, SPI, i2C, Serial, 1-Wire, remote GPIO
  • Expand filesystem
  • Set GPU ram split
  • Enable/Disable pixel doubling
  • Update raspi-config

Not fully tested:

  • Set WiFi credentials
  • Enable network names
  • Wait for Network at Boot
  • Splash Screen
  • Set WiFi country
  • Set overclock
  • Enable overscan
  • Set audio out
  • Set HDMI group mode
  • Set OpenGL desktop driver

TODO:

  • Change user password (i prefer Ansible user module)

ansible-raspi-config's People

Contributors

giuaig avatar pascalhonegger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-raspi-config's Issues

Ansible role

Is this repo available as ansible role on ansible galaxy?
This is the best task list i found so far, is there a other (non documented) way to include this tasks to my own playbook on first launch?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.