Compare commits

..

No commits in common. "7ee7eebfc78f28b03e738bfef70b7fbc4928a5c1" and "ac4d628d0b813a25cc708b9ab717c1bd1832a81a" have entirely different histories.

2 changed files with 6 additions and 8 deletions

View file

@ -6,7 +6,7 @@ SUDO='sudo'
ANSIBLE_REPO='https://git.grondek.pl/pgrondek/ansible-desktop.git'
if [[ "$EUID" == 0 ]]; then
echo "Run script as normal user"
echo "Run script as normal user"
fi
"${SUDO}" apt update
@ -14,11 +14,8 @@ fi
"${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible
"${SUDO}" apt install -y git ansible
if [ -d "${HOME}/src/ansible-desktop" ]; then
mkdir -p "${HOME}/src"
cd "${HOME}/src"
git clone "$ANSIBLE_REPO"
fi
cd "${HOME}/src/ansible-desktop"
git pull
mkdir -p "${HOME}/src"
cd "${HOME}/src"
git clone "$ANSIBLE_REPO"
cd ansible-desktop
ansible-playbook localhost.yml

View file

@ -4,6 +4,7 @@
- name: clean packages
apt:
pkg:
- snapd
- cloud-init
- lxd
- lxd-client