Skip to content

Using Ansible to build and deploy a Docker Swarm on a cluster of Raspberry Pis.

License

Notifications You must be signed in to change notification settings

njdcourtney/pi-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi Ansible

This is a collection of tool to configure various things on a Raspberry Pi.

History

Originally this was used to configure a Docker Swarm cluster on Rasbian Buster but I'm rewriting it for Rasbian Bullseye.

All the previous code is in the 'Buster' folder, or in the 'Buster' branch on Github.

Prepare the Rasbian Image.

The easiest way to do this is my using the Raspberry Pi Imager and using the 64 bit Lite image. You should open the advanced options and set:

  1. The WiFi details (if you're using WiFi)
  2. Change the default admin username and password
  3. Enable SSH, and ideally enable SSH key based authentication.

Playbooks

  1. pb-core.yml - contains tasks that should be run on any Pi
  2. pb-format-disks.yml - deletes any existing partitions and installs an XFS filesystem

About

Using Ansible to build and deploy a Docker Swarm on a cluster of Raspberry Pis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages