mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2025-04-20 17:21:44 +02:00
a little better documentation
This commit is contained in:
parent
43e3fa1b6a
commit
fb388d02a1
26
README.md
26
README.md
@ -1,2 +1,24 @@
|
|||||||
Self configuration of a fresh Raspbian installation on Raspberry Pi. This is
|
# Raspberry Pi Ansible
|
||||||
very much a work in progress.
|
|
||||||
|
Glenn K. Lockwood, August 2017
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
This is an Ansible configuration that configures a fresh Raspbian installation
|
||||||
|
on Raspberry Pi. This is very much a work in progress and not intended to be
|
||||||
|
used by anyone but me.
|
||||||
|
|
||||||
|
## Bootstrapping on Raspbian
|
||||||
|
|
||||||
|
If you want to use these playbooks to make a Raspberry Pi self-configure,
|
||||||
|
install Ansible by doing the following:
|
||||||
|
|
||||||
|
# apt-get install ansible
|
||||||
|
# pip install --user ansible
|
||||||
|
# ssh-keygen
|
||||||
|
# ssh-copy-id localhost
|
||||||
|
|
||||||
|
You can ensure that Ansible is able to configure using the following:
|
||||||
|
|
||||||
|
$ ansible -i hosts all -m ping
|
||||||
|
$ ansible -i hosts -u pi --sudo-user root all -a "/usr/bin/id -u"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user