Fix install.sh
This commit is contained in:
parent
60c44d97e4
commit
ac4d628d0b
12
install.sh
12
install.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user