Fix bug regarding myANSIBLE_TAG in installer.sh

Fixes #1841
This commit is contained in:
Marco Ochse 2025-09-18 16:59:10 +02:00 committed by GitHub
parent f570b54743
commit f676f82ed0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,7 +206,7 @@ if [ ! -f installer/install/tpot.yml ] && [ ! -f tpot.yml ];
fi
# Check type of sudo access
if myANSIBLE_TAG="Debian";
if [ "$myANSIBLE_TAG" = "Debian" ];
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
then
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"