Have secrets scriot generate from topology file.
This commit is contained in:
parent
29c0634bc1
commit
1cefcaac0d
@ -18,7 +18,7 @@ except ImportError:
|
|||||||
# length of generated passwords.
|
# length of generated passwords.
|
||||||
pass_length = 20
|
pass_length = 20
|
||||||
|
|
||||||
with open('secrets.yml', 'r') as f:
|
with open('secrets.yml.topol', 'r') as f:
|
||||||
data = load(f, Loader=Loader)
|
data = load(f, Loader=Loader)
|
||||||
|
|
||||||
for key, value in data.iteritems():
|
for key, value in data.iteritems():
|
||||||
|
11
secrets.yml.topol
Normal file
11
secrets.yml.topol
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
GLANCE_PASSWORD:
|
||||||
|
METADATA_SECRET:
|
||||||
|
MYSQL_ROOT_PASSWORD:
|
||||||
|
NEUTRON_PASSWORD:
|
||||||
|
NOVA_PASSWORD:
|
||||||
|
NOVA_PLACEMENT_PASSWORD:
|
||||||
|
OS_PASSWORD: # Keystone admin password
|
||||||
|
OS_DEMO_PASSWORD: # Keystone demo user password
|
||||||
|
RABBIT_PASSWORD:
|
||||||
|
RABBITMQ_ERLANG_COOKIE:
|
Loading…
Reference in New Issue
Block a user