Files
dotfiles/ansible.desktop/install-desktop-toolsontech.sh

13 lines
366 B
Bash
Executable File

#!/bin/sh
# Simple script to run the playbook
echo "Open Sudo rights before start"
sudo echo "ok"
if [ ! -x /usr/bin/ansible ]; then
echo "Missing Ansible, Running Install"
if [ -x /usr/bin/apt ]; then
# I'm not doing anything fancy, so older version from repo is okay
sudo apt install -f ansible
fi
fi
ansible-playbook install-desktop-toolsontech.yml