Merge "Fixed assumed utility pip install for specific clients"
This commit is contained in:
commit
191f5e686f
@ -41,18 +41,6 @@ utility_package_state: "{{ package_state }}"
|
||||
|
||||
# Python packages to be installed into the utility container
|
||||
utility_pip_packages:
|
||||
- gnocchiclient
|
||||
- python-openstackclient
|
||||
- python-ceilometerclient
|
||||
- python-cinderclient
|
||||
- python-glanceclient
|
||||
- python-heatclient
|
||||
- python-keystoneclient
|
||||
- python-neutronclient
|
||||
- python-novaclient
|
||||
- python-ironicclient
|
||||
- python-saharaclient
|
||||
- python-swiftclient
|
||||
- python-memcached
|
||||
- pycrypto
|
||||
|
||||
|
@ -72,9 +72,17 @@
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
tags:
|
||||
- utility-yum-packages
|
||||
- name: Get list of python clients
|
||||
shell: "curl -s {{ openstack_repo_url }}/os-releases/{{ openstack_release }}/requirements_absolute_requirements.txt | grep client | cut -d'=' -f1"
|
||||
register: client_list
|
||||
run_once: true
|
||||
changed_when: false
|
||||
tags:
|
||||
- utility-pip-packages
|
||||
- skip_ansible_lint
|
||||
- name: Install pip packages
|
||||
pip:
|
||||
name: "{{ utility_pip_packages | join(' ') }}"
|
||||
name: "{{ client_list.stdout_lines | union(utility_pip_packages) | join(' ') }}"
|
||||
state: latest
|
||||
extra_args: "{{ pip_install_options|default('') }}"
|
||||
register: install_packages
|
||||
|
Loading…
x
Reference in New Issue
Block a user