1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update runrole

This commit is contained in:
A Holt 2020-08-05 13:57:58 -04:00 committed by GitHub
parent 901db8d6c5
commit a8a117cdf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
runrole
View file

@ -34,10 +34,21 @@ fi
# exit 1
#fi
# 2020-08-05: yes /etc/iiab/iiab_state.yml is necessary, but we DON'T
# want to encourage sloppy operators to delete/touch this file.
#
# (The iiab_state.yml file should always be created by ./iiab-install,
# for IIAB's Ansible roles that then auto-populate this file.)
#
# FYI iiab-network and iiab-configure likewise warn operators (IN RED!)
# if they try to run without the existence of /etc/iiab/iiab_state.yml :
#
# ERROR! vars file /etc/iiab/iiab_state.yml was not found
#
# Needed for Stages 1-3 if not installed yet
if [ ! -f $IIAB_STATE_FILE ]; then
touch $IIAB_STATE_FILE
fi
#if [ ! -f $IIAB_STATE_FILE ]; then
# touch $IIAB_STATE_FILE
#fi
#if ! grep -q $1_install $LOCAL_VARS_FILE; then
# echo " $1_install: not found in $VARS"