Skip to content

Commit

Permalink
Ensure all apt packages are installed for Ansible (#109)
Browse files Browse the repository at this point in the history
On non-Raspbian Debian systems like DietPi, we should check that all the apt packages are available to run the Ansible environment.
  • Loading branch information
mtlynch authored Aug 7, 2020
1 parent e9a3fd1 commit 4ac2a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quick-install
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ if [ -f /etc/nginx/sites-enabled/KVMPi.conf ]; then
fi

pushd $(mktemp -d)
sudo apt-get install -y python3-venv
sudo apt-get install -y libssl-dev python3-dev python3-venv
python3 -m venv venv
. venv/bin/activate
# Ansible depends on wheel.
pip install wheel==0.34.2
pip install ansible==2.9.10
echo "[defaults]
roles_path = $PWD
interpreter_python = /usr/bin/python3
" > ansible.cfg
ansible-galaxy install mtlynch.tinypilot
echo "- hosts: localhost
Expand Down

0 comments on commit 4ac2a1a

Please sign in to comment.