Cleanup unused pip packages

The virtualenv shouldn't be installed individually by a role,
therefore should be removed. The other packages are not really
necessary since they are remnant from the role creation (copied
and pasted from another role).

Thus we also remove the task related to the install of those.

Change-Id: I76b870ae54602a0c7f99774b250c447c748fb6aa
This commit is contained in:
kaiokassiano 2018-08-10 11:44:59 -03:00
parent c3c36bcadc
commit a05457498f
2 changed files with 0 additions and 18 deletions

View File

@ -275,12 +275,6 @@ monasca_agent_plugins:
- name: "ntp"
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:
- keystoneauth1
- libvirt-python

View File

@ -32,18 +32,6 @@
when:
- 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
uri:
url: "{{ monasca_agent_venv_download_url | replace('tgz', 'checksum') }}"