relocate install-yavdr.sh

This commit is contained in:
Alexander Grothe
2017-02-28 16:31:43 +01:00
parent 63b076924c
commit bae1028bc7

13
install-yavdr.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if (( $EUID != 0 )); then
echo "This script must be run using sudo or as root"
exit
fi
apt-get -y install software-properties-common
# Add repository for ansible
add-apt-repository -y ppa:ansible/ansible
# update packages
apt-get update
# install required packages
apt-get -y install ansible python