add openstack client on machine that is running keystone

This commit is contained in:
Egon Rijpkema 2017-09-27 13:43:33 +02:00
parent 929b542410
commit 787a4c17db
1 changed files with 11 additions and 0 deletions

View File

@ -82,3 +82,14 @@
-e "OS_AUTH_URL=http://${KEYSTONE_HOST}:35357/v3"
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}"
{{ docker_image }} bash /etc/bootstrap.sh
- name: install openstack client for management
apt:
name: python-openstackclient
state: latest
update_cache: yes
- name: source admin-openrc.sh in root .bashrc
lineinfile:
path: /root/.bashrc
line: 'source /srv/keystone/root/admin-openrc.sh'