Fix install.sh

This commit is contained in:
Przemek Grondek 2022-05-19 19:18:29 +02:00
parent 60c44d97e4
commit ac4d628d0b

View File

@ -9,13 +9,13 @@ if [[ "$EUID" == 0 ]]; then
echo "Run script as normal user" echo "Run script as normal user"
fi fi
$(SUDO) apt update "${SUDO}" apt update
$(SUDO) apt install software-properties-common "${SUDO}" apt install software-properties-common
$(SUDO) apt-add-repository --yes --update ppa:ansible/ansible "${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible
$(SUDO) apt install -y git ansible "${SUDO}" apt install -y git ansible
mkdir -p $(HOME)/src mkdir -p "${HOME}/src"
cd $(HOME)/src cd "${HOME}/src"
git clone "$ANSIBLE_REPO" git clone "$ANSIBLE_REPO"
cd ansible-desktop cd ansible-desktop
ansible-playbook localhost.yml ansible-playbook localhost.yml