add openstack client on machine that is running keystone
This commit is contained in:
parent
929b542410
commit
787a4c17db
@ -82,3 +82,14 @@
|
|||||||
-e "OS_AUTH_URL=http://${KEYSTONE_HOST}:35357/v3"
|
-e "OS_AUTH_URL=http://${KEYSTONE_HOST}:35357/v3"
|
||||||
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}"
|
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}"
|
||||||
{{ docker_image }} bash /etc/bootstrap.sh
|
{{ 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'
|
||||||
|
Loading…
Reference in New Issue
Block a user