Failsafe run.sh

This commit is contained in:
Emiliano Vavassori 2020-04-30 00:08:19 +02:00
parent dff054f238
commit 2b83907f68
1 changed files with 2 additions and 2 deletions

4
run.sh
View File

@ -1,5 +1,5 @@
#!/bin/bash
apt -y install python3 python3-pip
pip3 install ansible --system
dpkg -l | grep python3-pip || apt -y install python3 python3-pip
which ansible || pip3 install ansible --system
ansible-playbook install.yml