mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
ITOPSENG-277 removing slurping of all /etc/atl. DCD prefer explicit variable assignment
This commit is contained in:
@@ -10,9 +10,6 @@
|
|||||||
atl_jdbc_encoding: 'UTF-8'
|
atl_jdbc_encoding: 'UTF-8'
|
||||||
atl_jdbc_collation: 'en_US.UTF-8'
|
atl_jdbc_collation: 'en_US.UTF-8'
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /etc/atl_vars.yml
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
- role: aws_common
|
- role: aws_common
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ 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
|
|
||||||
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
|
||||||
source $ENV_FILE
|
source $ENV_FILE
|
||||||
|
|||||||
Reference in New Issue
Block a user