Merge "Move bootstrap password to an environment var"
This commit is contained in:
commit
78af624acc
|
@ -673,10 +673,15 @@ outputs:
|
||||||
start_order: 3
|
start_order: 3
|
||||||
action: exec
|
action: exec
|
||||||
user: root
|
user: root
|
||||||
|
# NOTE(mwhahaha): We use $$ because we're executing in python to
|
||||||
|
# call as shell script and passing the command to run as arguments
|
||||||
|
# to that shell script. So when it is called via eval, the escaped
|
||||||
|
# $ properly evaulates
|
||||||
command:
|
command:
|
||||||
[ 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone' ,'keystone-manage', 'bootstrap', '--bootstrap-password', {get_param: AdminPassword} ]
|
[ 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone' ,'keystone-manage', 'bootstrap', '--bootstrap-password', '$$KEYSTONE_BOOTSTRAP_PASSWORD' ]
|
||||||
environment:
|
environment:
|
||||||
KOLLA_BOOTSTRAP: true
|
KOLLA_BOOTSTRAP: true
|
||||||
|
KEYSTONE_BOOTSTRAP_PASSWORD: {get_param: AdminPassword}
|
||||||
step_4:
|
step_4:
|
||||||
# There are cases where we need to refresh keystone after the resource provisioning,
|
# There are cases where we need to refresh keystone after the resource provisioning,
|
||||||
# such as the case of using LDAP backends for domains. So we trigger a graceful
|
# such as the case of using LDAP backends for domains. So we trigger a graceful
|
||||||
|
|
Loading…
Reference in New Issue