Welcome to Clustered-Pi
To install Ansible we can use the Python package manager 'Pip'. On your main computer, open a terminal/commandline.
Type:
git clone https://github.com/kevinmcaleer/clusteredpi
Type:
python3 -m venv venv
Type:
source venv/bin/activate
Type:
pip install pip --upgrade
pip install -r requirements.txt
ansible-playbook apt-update.yml -u=pi
- the -U parameter changes the login username to pi
rather than the currently logged in user on the master PC.
apt-update.yml
- updates the Raspberry Pi's package management system
Grafana - default username is admin, password admin.
To run the playbooks, makes sure you source venv\bin\activate
in the ClusteredPi
folder