Update README.md

format readme
This commit is contained in:
Pellegrino, Michael
2020-02-24 17:15:24 -05:00
committed by GitHub Enterprise
parent 345f8a9eb2
commit 005efc9e44

View File

@@ -54,11 +54,11 @@ The Goal is to evenually be able to be a turnkey solution to spin up a "real" ne
* execute _**cd ansible**_
* execute _**nano hosts**_ and follow the instructions in that file to add all of your Pi devices
* execute _**ssh-keygen -t rsa**_ you will need to press enter three times to accept the defaults
* execute _**PUBKEY="'$(<~/.ssh/id_rsa.pub)'" && ansible-playbook -i hosts deploy_authorized_keys.yml --ask-pass --extra-vars="pubkey=$PUBKEY"' it will prompt for the password which is still 'raspberry**_
* execute _**PUBKEY="'$(<~/.ssh/id_rsa.pub)'" && ansible-playbook -i hosts deploy_authorized_keys.yml --ask-pass --extra-vars="pubkey=$PUBKEY"**_ it will prompt for the password which is still 'raspberry
* execute _**ansible-playbook -i hosts main.yaml --ask-become-pass**_ it will ask for the password which is still 'raspberry'
* after it completes without errors
* execute 'ansible-playbook -i hosts reboot.yaml' and wait for it to complete
* execute 'sudo reboot'
* execute _**ansible-playbook -i hosts reboot.yaml**_ and wait for it to complete
* execute _**sudo reboot**_
At this point, the configuration of all of the Raspberry Pi devices will be completed and they will start generating traffic as configured while editing the hosts file.