Fix -n option to not reset submodule

This commit is contained in:
Timo Mäkinen 2025-02-01 18:51:36 +02:00
parent 670232a135
commit d9f8719fef

View file

@ -22,7 +22,7 @@ sudo /bin/true
if "$UPDATE" ; then if "$UPDATE" ; then
git pull git pull
fi fi
if "$UPDATE" || [ ! -f roles/.git ]; then if "$UPDATE" || [ ! -f playbooks/roles/.git ]; then
git submodule update --init --recursive git submodule update --init --recursive
fi fi
if ! rpm -q ansible > /dev/null; then if ! rpm -q ansible > /dev/null; then