Browse Source

Install osc-placement package during client package installation

This patch makes osc-placmeent package installed as a part of client
packages, because this package is required to manage resources in
placement service.

Change-Id: Ib2524cf97f97693d7d03c1bb4fb1c2bde40d3bec
changes/03/737003/6
Takashi Kajinami 2 years ago
parent
commit
8f758e5e4f
  1. 37
      tripleo_ansible/roles/tripleo_clients_install/defaults/main.yml
  2. 5
      tripleo_ansible/roles/tripleo_clients_install/molecule/default/converge.yml
  3. 2
      tripleo_ansible/roles/tripleo_clients_install/tasks/main.yml

37
tripleo_ansible/roles/tripleo_clients_install/defaults/main.yml

@ -21,21 +21,22 @@
tripleo_clients_install_pkg_state: present
tripleo_clients_install_dict:
aodh: present
barbican: present
cinder: present
designate: present
glance: present
gnocchi: present
heat: present
ironic: present
keystone: present
manila: present
mistral: present
neutron: present
nova: present
openstack: present
panko: present
sahara: present
swift: present
zaqar: present
aodhclient: present
barbicanclient: present
cinderclient: present
designateclient: present
glanceclient: present
gnocchiclient: present
heatclient: present
ironicclient: present
keystoneclient: present
manilaclient: present
mistralclient: present
neutronclient: present
novaclient: present
openstackclient: present
osc-placement: present
pankoclient: present
saharaclient: present
swiftclient: present
zaqarclient: present

5
tripleo_ansible/roles/tripleo_clients_install/molecule/default/converge.yml

@ -19,7 +19,8 @@
hosts: all
vars:
tripleo_clients_install_dict:
aodh: installed
barbican: installed
aodhclient: installed
barbicanclient: installed
osc-placement: installed
roles:
- role: "tripleo_clients_install"

2
tripleo_ansible/roles/tripleo_clients_install/tasks/main.yml

@ -41,7 +41,7 @@
}
%}
{% for k, v in tripleo_clients_install_dict.items() %}
{% set pkg_name = tripleo_clients_install_python_prefix ~ '-' ~ k ~ 'client' %}
{% set pkg_name = tripleo_clients_install_python_prefix ~ '-' ~ k %}
{% if (tripleo_clients_install_pkg_state == 'present') and (v != tripleo_clients_install_pkg_state) %}
{% set _ = package_sets[v].append(pkg_name) %}
{% else %}

Loading…
Cancel
Save