iEnsure installation of same openstack client
This commit is contained in:
parent
469bcd769c
commit
7a41ca4187
@ -52,7 +52,7 @@
|
|||||||
delay: 3
|
delay: 3
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: keystone manage commands to setup db
|
- name: keystone manage commands to setup db_sync
|
||||||
command: >
|
command: >
|
||||||
/usr/bin/docker run --rm
|
/usr/bin/docker run --rm
|
||||||
--add-host=mariadb:{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}
|
--add-host=mariadb:{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}
|
||||||
@ -93,13 +93,16 @@
|
|||||||
register: result
|
register: result
|
||||||
retries: 7
|
retries: 7
|
||||||
delay: 3
|
delay: 3
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
|
|
||||||
|
- name: install openstack repo key host.
|
||||||
|
command: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
|
||||||
|
tags: openstackclient
|
||||||
|
|
||||||
- name: install openstack repo on host.
|
- name: install openstack repo on host.
|
||||||
command: >
|
apt_repository:
|
||||||
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main" > /etc/apt/sources.list.d/ocata.list &&
|
repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
|
filename: ocata
|
||||||
tags: openstackclient
|
tags: openstackclient
|
||||||
|
|
||||||
- name: install openstack client for management
|
- name: install openstack client for management
|
||||||
|
Loading…
Reference in New Issue
Block a user