mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
stage tuning and ansible_version
This commit is contained in:
parent
12e5c6730f
commit
87c81df5e0
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ then
|
||||||
source /etc/iiab/iiab.env
|
source /etc/iiab/iiab.env
|
||||||
if [ ! $STAGE == 9 ]
|
if [ ! $STAGE == 9 ]
|
||||||
then
|
then
|
||||||
echo "Restarting STAGE=$STAGE"
|
echo "Restarting from STAGE $STAGE"
|
||||||
fi
|
fi
|
||||||
if [ $STAGE == 9 ]
|
if [ $STAGE == 9 ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -45,7 +45,7 @@ fi
|
||||||
# interruptions return last stage number recorded (1-9)
|
# interruptions return last stage number recorded (1-9)
|
||||||
if [ -f /etc/iiab/iiab.env ]
|
if [ -f /etc/iiab/iiab.env ]
|
||||||
then
|
then
|
||||||
STAGE=0
|
STAGE=1
|
||||||
source /etc/iiab/iiab.env
|
source /etc/iiab/iiab.env
|
||||||
STAGE=$STAGE
|
STAGE=$STAGE
|
||||||
else
|
else
|
||||||
|
@ -58,7 +58,7 @@ cat <<EOF
|
||||||
"iiab_branch" : "$BRANCH",
|
"iiab_branch" : "$BRANCH",
|
||||||
"iiab_commit" : "$COMMIT",
|
"iiab_commit" : "$COMMIT",
|
||||||
"xo_model" : "$XO_VERSION",
|
"xo_model" : "$XO_VERSION",
|
||||||
"ansble_version" : "$ANSIBLE_VERSION",
|
"ansible_version" : "$ANSIBLE_VERSION",
|
||||||
"os" : "$OS",
|
"os" : "$OS",
|
||||||
"os_ver" : "$OS_VER"}
|
"os_ver" : "$OS_VER"}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue