Add script to install ansible
This commit is contained in:
parent
e37bd7c078
commit
b4880b04fa
12
install.sh
Executable file
12
install.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user