Merge "Cleanup unused pip packages"
This commit is contained in:
commit
a3590e0df9
|
@ -275,12 +275,6 @@ monasca_agent_plugins:
|
||||||
- name: "ntp"
|
- name: "ntp"
|
||||||
where: "hosts"
|
where: "hosts"
|
||||||
|
|
||||||
## Monasca-agent packages that must be installed before anything else
|
|
||||||
monasca_agent_requires_pip_packages:
|
|
||||||
- virtualenv
|
|
||||||
- python-keystoneclient
|
|
||||||
- httplib2
|
|
||||||
|
|
||||||
monasca_agent_pip_packages:
|
monasca_agent_pip_packages:
|
||||||
- keystoneauth1
|
- keystoneauth1
|
||||||
- libvirt-python
|
- libvirt-python
|
||||||
|
|
|
@ -32,18 +32,6 @@
|
||||||
when:
|
when:
|
||||||
- monasca_agent_developer_mode | bool
|
- monasca_agent_developer_mode | bool
|
||||||
|
|
||||||
- name: Install requires pip packages
|
|
||||||
pip:
|
|
||||||
name: "{{ monasca_agent_requires_pip_packages }}"
|
|
||||||
state: "{{ monasca_agent_pip_package_state }}"
|
|
||||||
extra_args: >-
|
|
||||||
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
|
|
||||||
{{ pip_install_options | default('') }}
|
|
||||||
register: install_packages
|
|
||||||
until: install_packages is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
|
|
||||||
- name: Retrieve checksum for venv download
|
- name: Retrieve checksum for venv download
|
||||||
uri:
|
uri:
|
||||||
url: "{{ monasca_agent_venv_download_url | replace('tgz', 'checksum') }}"
|
url: "{{ monasca_agent_venv_download_url | replace('tgz', 'checksum') }}"
|
||||||
|
|
Loading…
Reference in New Issue