env/setup.sh

9 lines
215 B
Bash
Executable file

#!/bin/bash
if [[ -z "$(command -v pipx)" ]]; then
echo -e "\033[31;1mThis expects pipx to be installed.\033[0m"
exit 1
fi
pipx install "ansible~=10.0"
ansible-playbook -v --ask-become-pass ./playbook.yml