mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
pass reinstall ansible
This commit is contained in:
parent
2b69d6b9a4
commit
0d067970d4
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ if [ -f /etc/iiab/iiab.env ]; then
|
|||
echo "Removed /etc/iiab/iiab.env effectively resetting STAGE (counter)."
|
||||
elif [ "$1" == "--reinstall" ]; then
|
||||
STAGE=0
|
||||
ARGS="$ARGS --extra-vars reinstall=True"
|
||||
sed -i 's/^STAGE=.*/STAGE=0/' /etc/iiab/iiab.env
|
||||
echo "Wrote STAGE=0 (counter) to /etc/iiab/iiab.env"
|
||||
elif [ "$STAGE" -ge 2 ] && [ "$1" == "--debug" ]; then
|
||||
|
|
Loading…
Reference in a new issue