aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-29 10:11:42 +0000
committerSam Yaple <sam@yaple.net>2015-08-30 08:35:54 +0000
commit7f172034065a5b1b4e0b53f6c2c8108c5823a28b (patch)
tree3f20462ad8be0893f8bcdd15cc00d515b9ceeacd /ansible
parent5e521f0550cab5989580fe1a92c112d367f33072 (diff)
downloadkolla-7f172034065a5b1b4e0b53f6c2c8108c5823a28b.tar.gz
kolla-7f172034065a5b1b4e0b53f6c2c8108c5823a28b.zip
Keystone container should use the openstackclient
Initially it did not use this client due to the fact that the client didn't seem to want to work in the containers. Now it works fine and it should be used instead of the deprecated keystone client Change-Id: Ib0e172c677e200e5df01c478b7ea257b30c0df0b Closes-Bug: #1490126
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/keystone/tasks/bootstrap.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/keystone/tasks/bootstrap.yml b/ansible/roles/keystone/tasks/bootstrap.yml
index d1b9fcfa1..f23bcd09a 100644
--- a/ansible/roles/keystone/tasks/bootstrap.yml
+++ b/ansible/roles/keystone/tasks/bootstrap.yml
@@ -52,8 +52,8 @@
PUBLIC_URL: "http://{{ kolla_external_address }}:{{ keystone_public_port }}/v2.0"
INTERNAL_URL: "http://{{ kolla_internal_address }}:{{ keystone_public_port }}/v2.0"
ADMIN_URL: "http://{{ kolla_internal_address }}:{{ keystone_admin_port }}/v2.0"
- OS_SERVICE_TOKEN: "{{ keystone_admin_token }}"
- OS_SERVICE_ENDPOINT: "http://{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ keystone_admin_port }}/v2.0"
+ OS_TOKEN: "{{ keystone_admin_token }}"
+ OS_URL: "http://{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ keystone_admin_port }}/v2.0"
run_once: True
when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed