Make sure virtualenv is installed
Change-Id: Icac8b42f6b29612f18e00d7e45f18da4e595d6e2
This commit is contained in:
parent
79b71db02e
commit
6b267c0040
@ -35,6 +35,8 @@
|
||||
- name: apt-get update
|
||||
apt: update_cache=yes
|
||||
ignore_errors: true
|
||||
- name: Install virtualenv
|
||||
apt: name=python-virtualenv
|
||||
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
|
||||
|
@ -12,6 +12,8 @@
|
||||
pre_tasks:
|
||||
- name: apt-get update
|
||||
apt: update_cache=yes
|
||||
- name: Install virtualenv
|
||||
apt: name=python-virtualenv
|
||||
tasks:
|
||||
- name: Install postfix, needed by notification engine
|
||||
apt: name=postfix state=present
|
||||
@ -71,7 +73,7 @@
|
||||
tags:
|
||||
- cli
|
||||
- name: Update cli
|
||||
pip: name=python-monascaclient state=latest
|
||||
pip: name=python-monascaclient state=latest virtualenv="{{monasca_virtualenv_dir}}"
|
||||
tags:
|
||||
- cli
|
||||
roles:
|
||||
|
Loading…
x
Reference in New Issue
Block a user