ITOPSENG-101 fixed variable value case in /etc/atl_vars.yml

This commit is contained in:
Brett Meehan
2019-12-05 11:50:14 +11:00
parent b102f6b9a4
commit 72cecfe04d

View File

@@ -11,7 +11,7 @@ ENV_FILE=${4:-"/etc/atl"}
export PATH=/usr/local/bin:$PATH export PATH=/usr/local/bin:$PATH
# get /etc/atl into usable vars which can be included in ansible playbooks # get /etc/atl into usable vars which can be included in ansible playbooks
grep -v PASSWORD /etc/atl | sed -r -e 's/(^.+)(=)(.*$)/\L\1:\ \3/g' > /etc/atl_vars.yml grep -v PASSWORD /etc/atl | sed -r -e 's/(^.+)(=)(.*$)/\L\1\E:\ \3/g' > /etc/atl_vars.yml
# Set the environment with default exports # Set the environment with default exports
set -a set -a