diff options
| author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2017-10-12 16:34:09 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2017-10-12 16:35:56 +0200 |
| commit | c207520ca5c5a5661ee5b86e62d75a499bc53bd6 (patch) | |
| tree | 92760e9bca63c833c735ec414e16a271fab9ce15 /ansible/post-deploy.yml | |
| parent | a08766b29a02b3ef04e5a0e42226b4e403e4250a (diff) | |
| download | kolla-ansible-c207520ca5c5a5661ee5b86e62d75a499bc53bd6.tar.gz kolla-ansible-c207520ca5c5a5661ee5b86e62d75a499bc53bd6.zip | |
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
Diffstat (limited to 'ansible/post-deploy.yml')
| -rw-r--r-- | ansible/post-deploy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index 1cecaf1fa..2e1f9ef97 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -5,5 +5,5 @@ tasks: - template: 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 |
