2020-07-01 14:26:49 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
if [[ "$EUID" -ne 0 ]]; then
|
|
|
|
echo "You need to be root"
|
|
|
|
sudo $0 $@
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
apt update
|
|
|
|
apt install software-properties-common
|
|
|
|
apt-add-repository --yes --update ppa:ansible/ansible
|
2020-07-01 14:42:35 +00:00
|
|
|
apt install -y git ansible
|