Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lordrip/snapstore-worker

Snapstore worker installer

This script installs the snapstore worker on a fresh Raspberry PI OS installation.

Requirements

  • Ansible
  • A Raspberry PI with a fresh Raspberry PI OS installation
  • A ssh key to connect to the Raspberry PI

Preparing the installer environment

  1. Create a virtual environment
python3 -m venv .venv
  1. Activate the virtual environment
source .venv/bin/activate
  1. Install pipx
# Fedora / CentOS Sream / RHEL
sudo dnf install pipx

# Ubuntu / Debian
sudo apt install pipx

# macOS
brew install pipx
  1. Install ansible
pipx install --include-deps ansible
  1. Clone this repository
  2. Copy the inventory.ini-example file to inventory.ini
cp inventory.ini-example inventory.ini
  1. Edit the inventory.ini file 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
  1. Install ansible-galaxy dependencies
ansible-galaxy install -r requirements.yaml

Installation on the Raspberry PI

  1. Enable the ssh service on the Raspberry PI
  2. Run the kiosk_setup_linux.yaml playbook
ansible-playbook -i inventory.ini kios_setup_linux.yaml

Installation on Windows

  1. Install openssh server on Windows
winget install OpenSSH.Server
  1. Run the kiosk_setup_windows.yaml playbook
ansible-playbook -i inventory.ini kios_setup_windows.yaml

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published