This script installs the snapstore worker on a fresh Raspberry PI OS installation.
- Ansible
- A Raspberry PI with a fresh Raspberry PI OS installation
- A
sshkey to connect to the Raspberry PI
- Create a virtual environment
python3 -m venv .venv- Activate the virtual environment
source .venv/bin/activate- Install pipx
# Fedora / CentOS Sream / RHEL
sudo dnf install pipx
# Ubuntu / Debian
sudo apt install pipx
# macOS
brew install pipx- Install ansible
pipx install --include-deps ansible- Clone this repository
- Copy the
inventory.ini-examplefile toinventory.ini
cp inventory.ini-example inventory.ini- Edit the
inventory.inifile and set the correct values
[raspberry_pi]
# <IP> ansible_user=<USER> ansible_ssh_private_key_file=<PATH_TO_SSH_KEY>
192.168.1.184 ansible_user=rmartinez ansible_ssh_private_key_file=~/.ssh/id_rsa
- Install ansible-galaxy dependencies
ansible-galaxy install -r requirements.yaml- Enable the
sshservice on the Raspberry PI - Run the
kiosk_setup_linux.yamlplaybook
ansible-playbook -i inventory.ini kios_setup_linux.yaml- Install openssh server on Windows
winget install OpenSSH.Server- Run the
kiosk_setup_windows.yamlplaybook
ansible-playbook -i inventory.ini kios_setup_windows.yaml