13 lines
233 B
Bash
Executable File
13 lines
233 B
Bash
Executable File
#!/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
|
|
apt install ansible
|