Update Readme

add requirements.yml for additional modules
This commit is contained in:
Michael Pellegrino
2021-08-30 08:39:21 -04:00
parent 21612189e0
commit 7e68ea16b3
19 changed files with 964 additions and 59 deletions

View File

@@ -81,6 +81,7 @@ The Goal is to evenually be able to be a turnkey solution to spin up a "real" ne
* execute _**sudo apt install -y ansible sshpass git**_
* execute _**git clone ssh://ansibledemo@96.82.16.164:/srv/git/ansible.git**_ - pw C*******9
* execute _**cd ansible**_
* execute _**ansible-galaxy collection install -r requirements.yml**_
* 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