Skip to content

Ansible provisioning for setting up Raspberry Pi with raspbian

License

Notifications You must be signed in to change notification settings

heijer/raspberry-pi-provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-pi-provisioning

Ansible provisioning for setting up Raspberry Pi with raspbian

Preparation

# password
pi_passwd_hased: # put here your hashed password
  • add an alias for your pi to your ssh config file ~/.ssh/config. Mine contains something like this:
Host rp3b
   HostName <put-here-your-pi-ip-address>
   User <put-here-your-pi-user-name>

Run the playbook

The first time you need to add the arguments to ask for connection and sudo password

ansible-playbook playbook.yml --ask-pass --ask-become-pass

After one successful run of the common role, ssh key authentication is used. Then you can simply run:

ansible-playbook playbook.yml

About

Ansible provisioning for setting up Raspberry Pi with raspbian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published