An open API service indexing awesome lists of open source software.

https://github.com/motdotla/ansible-pi

Quickly setup your Raspberry Pi - particularly WIFI settings.
https://github.com/motdotla/ansible-pi

Last synced: 2 months ago
JSON representation

Quickly setup your Raspberry Pi - particularly WIFI settings.

Awesome Lists containing this project

README

          

[![Donate](http://www.opensourcecitizen.org/badge)](http://www.opensourcecitizen.org/project?url=github.com/motdotla/ansible-pi)

If you found this library useful, donate some CPU cycles to this project by clicking above. Thank you! 😇

# ansible-pi

![](https://raw.github.com/motdotla/ansible-pi/master/ansible-pi.jpg)

Quickly setup your Raspberry Pi - particularly WIFI settings.

There is a [complete guide to setting up your raspberry pi without a keyboard and mouse](http://sendgrid.com/blog/complete-guide-set-raspberry-pi-without-keyboard-mouse/) that goes along with this repo.

## Installation

Clone and setup the ansible script.

```
git clone https://github.com/motdotla/ansible-pi.git
cd ansible-pi
cp hosts.example hosts
cp wpa_supplicant.conf.example wpa_supplicant.conf
```

Edit the `wpa_supplicant.conf` and `hosts` files.

Deploy using [ansible](http://www.ansible.com) (install instructions for ansible are in [requirements](#requirements) below).

```
ansible-playbook playbook.yml -i hosts --ask-pass --become -c paramiko
```

## Requirements

[Ansible](http://www.ansible.com/) is required.

### Installing Ansible on Mac

```
cd /tmp
git clone git://github.com/ansible/ansible.git
cd ./ansible
git checkout v1.4.3
sudo make install
sudo easy_install jinja2
sudo easy_install pyyaml
sudo easy_install paramiko
```

## History

This project was originally built when trying out my first Raspberry Pi. The setup process was not as easy as I wanted.