Satisfy some dependencies for Agent plugins

This change enables use of the mysql and libvrit plugins to the
Monasca agent by adding dependencies to the virtualenv

Change-Id: If4e8170b5b6aed232d5a2074107aab9dc0c91d89
This commit is contained in:
David Schroeder 2015-06-29 17:19:29 -06:00
parent 0b53dbfb9b
commit 10f9469424
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,13 @@
ignore_errors: true
- name: Install virtualenv
apt: name=python-virtualenv
- name: Install Agent plugin dependencies in virtualenv
pip: name={{item}} state=latest virtualenv="{{monasca_virtualenv_dir}}"
with_items:
- lxml
- libvirt-python
- mysql-python
- python-novaclient
tasks:
- name: Setup the monasca cli credentials in the default environment
copy: src=tests/env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644