mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
reinforced: echo "{}" > /etc/iiab/config_vars.yml
This commit is contained in:
parent
05e09d74ee
commit
ef8a2eafd8
1 changed files with 6 additions and 1 deletions
|
@ -72,7 +72,12 @@ echo "Placed /etc/ansible/facts.d/local_facts.fact into position."
|
|||
STAGE=0
|
||||
if [ ! -f /etc/iiab/iiab.env ]; then
|
||||
mkdir -p /etc/iiab
|
||||
echo "{}" > /etc/iiab/config_vars.yml
|
||||
echo "Ran 'mkdir -p /etc/iiab'"
|
||||
# ./runtags and Admin Console currently require /etc/iiab/config_vars.yml (in future they may be self-sufficient?)
|
||||
if [ ! -f /etc/iiab/config_vars.yml ]; then
|
||||
echo "{}" > /etc/iiab/config_vars.yml
|
||||
echo "Created stub /etc/iiab/config_vars.yml"
|
||||
fi
|
||||
else
|
||||
if [[ `grep STAGE= /etc/iiab/iiab.env` ]]; then
|
||||
source /etc/iiab/iiab.env
|
||||
|
|
Loading…
Reference in a new issue