Failsafe run.sh
This commit is contained in:
parent
dff054f238
commit
2b83907f68
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
apt -y install python3 python3-pip
|
dpkg -l | grep python3-pip || apt -y install python3 python3-pip
|
||||||
pip3 install ansible --system
|
which ansible || pip3 install ansible --system
|
||||||
ansible-playbook install.yml
|
ansible-playbook install.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue