This commit is contained in:
Sam A. 2023-01-04 21:02:33 +01:00
parent 24d4bffffd
commit acc6d7fadc
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -8,6 +8,7 @@ usage() {
printf '$ %s\n' "$0 reboot [-f|--force]" printf '$ %s\n' "$0 reboot [-f|--force]"
} }
cd "$(dirname "$0")" || exit 255
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass" BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"
if [ -z "$(ansible-galaxy collection list community.general 2>/dev/null)" ]; then if [ -z "$(ansible-galaxy collection list community.general 2>/dev/null)" ]; then