Skip to content
Snippets Groups Projects
Commit c207520c authored by Marcin Juszkiewicz's avatar Marcin Juszkiewicz
Browse files

post-deploy: honour --config-dir argument

kolla-ansible can take globals.yml from any directory by using
--config-dir argument. So store admin credentials there as well.

Not everyone runs kolla-ansible as a root.

Change-Id: I0709482ead4b7a67e82796e17f85bde151e71bc0
parent a08766b2
No related branches found
No related tags found
No related merge requests found
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
tasks: tasks:
- template: - template:
src: "roles/common/templates/admin-openrc.sh.j2" src: "roles/common/templates/admin-openrc.sh.j2"
dest: "{{ node_config_directory }}/admin-openrc.sh" dest: "{{ CONFIG_DIR | default('/etc/kolla') }}/admin-openrc.sh"
run_once: True run_once: True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment