Ensure installation of same openstack client
This commit is contained in:
parent
84b901c8b3
commit
f8a3179b74
|
@ -52,7 +52,7 @@
|
|||
delay: 3
|
||||
ignore_errors: yes
|
||||
|
||||
- name: keystone manage commands to setup db
|
||||
- name: keystone manage commands to setup db_sync
|
||||
command: >
|
||||
/usr/bin/docker run --rm
|
||||
--add-host=mariadb:{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}
|
||||
|
@ -90,12 +90,18 @@
|
|||
-e "OS_AUTH_URL=http://${KEYSTONE_HOST}:35357/v3"
|
||||
-e "OS_PASSWORD={{ secrets['OS_PASSWORD'] }}"
|
||||
{{ docker_image }} bash /etc/bootstrap.sh
|
||||
register: result
|
||||
retries: 7
|
||||
delay: 3
|
||||
|
||||
- name: install openstack repo host key.
|
||||
command: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
|
||||
tags: openstackclient
|
||||
|
||||
- name: install openstack repo on host.
|
||||
command: >
|
||||
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main" > /etc/apt/sources.list.d/ocata.list &&
|
||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
|
||||
apt_repository:
|
||||
repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
|
||||
filename: ocata
|
||||
tags: openstackclient
|
||||
|
||||
- name: install openstack client for management
|
||||
|
|
Loading…
Reference in New Issue