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

echo "{}" > /etc/iiab/config_vars.yml when /etc/iiab created (for now, so runtags works)

This commit is contained in:
A Holt 2017-11-11 07:36:47 -05:00 committed by GitHub
parent ef63e6e356
commit 1692a71eac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,7 @@ 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
else
if [[ `grep STAGE= /etc/iiab/iiab.env` ]]; then
source /etc/iiab/iiab.env