Merge "Install python3 distro packages in the utility playbook"
This commit is contained in:
commit
39c44abdbc
@ -31,12 +31,24 @@ utility_distro_packages:
|
|||||||
- git
|
- git
|
||||||
- bash-completion
|
- bash-completion
|
||||||
|
|
||||||
utility_distro_openstack_clients_packages:
|
# Packages installed into the utility container for distro installs
|
||||||
- python-keystoneclient
|
# NOTE(jrosser) this can be simplified when all supported
|
||||||
- python-neutronclient
|
# distros use python3
|
||||||
- python-novaclient
|
utility_distro_openstack_clients_python_version: "{{ (ansible_distribution == 'CentOS') | ternary('2', '3') }}"
|
||||||
- python-cinderclient
|
|
||||||
- python-openstackclient
|
_utility_distro_openstack_clients_packages:
|
||||||
|
2:
|
||||||
|
- python-keystoneclient
|
||||||
|
- python-neutronclient
|
||||||
|
- python-novaclient
|
||||||
|
- python-cinderclient
|
||||||
|
- python-openstackclient
|
||||||
|
3:
|
||||||
|
- python3-keystoneclient
|
||||||
|
- python3-neutronclient
|
||||||
|
- python3-novaclient
|
||||||
|
- python3-cinderclient
|
||||||
|
- python3-openstackclient
|
||||||
|
|
||||||
# Python packages to be installed into the utility container
|
# Python packages to be installed into the utility container
|
||||||
utility_pip_packages:
|
utility_pip_packages:
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Add OpenStack client to distro packages
|
- name: Add OpenStack client to distro packages
|
||||||
set_fact:
|
set_fact:
|
||||||
utility_distro_packages: "{{ (utility_distro_packages | default([])) + utility_distro_openstack_clients_packages }}"
|
utility_distro_packages: "{{ (utility_distro_packages | default([])) + _utility_distro_openstack_clients_packages[utility_distro_openstack_clients_python_version|int] }}"
|
||||||
when: install_method == "distro"
|
when: install_method == "distro"
|
||||||
|
|
||||||
- name: Install distro packages
|
- name: Install distro packages
|
||||||
|
Loading…
Reference in New Issue
Block a user