This ansible Playbook is inspired by Don's Novaspirit Tech youtube series pi-hosted.
Setup ansible environmint with docker SDK with follwoing.
- Install pip
sudo apt install python3-pip -y
- install ansible with pip
pip install ansible
- Install docker sdk for ansible
pip install docker
- Install requirements
ansible-galaxy collection install -r requirements.yml
- Clone the repo
git clone https://github.com/kdpuvvadi/pi-hosted.git pi-hosted
. - copy inventory file with
cp inventory.ini.j2 inventory.ini
. - Change host ip of the host.
- copy varible file with
cp vars.yml.j2
tovars.yml.j2
. - Change the variable based on your preferences.
To deploy pi-hosted
on raspberry-pi run
ansible-playbook main.yml
Append -K
if you need password for sudo access.
- Docker and Portainer
- shell in a box
- Homer dashboard
- Guacamole
Default username and password both for guacamole are guacadmin
Contributions are always welcome!
clone the repo, modify the playbook and send a pull request.