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
|
- name: apt-get update
|
||||||
apt: update_cache=yes
|
apt: update_cache=yes
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
- name: Install virtualenv
|
||||||
|
apt: name=python-virtualenv
|
||||||
tasks:
|
tasks:
|
||||||
- name: Setup the monasca cli credentials in the default environment
|
- 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
|
copy: src=tests/env.sh dest=/etc/profile.d/monasca_cli.sh owner=root group=root mode=0644
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: apt-get update
|
- name: apt-get update
|
||||||
apt: update_cache=yes
|
apt: update_cache=yes
|
||||||
|
- name: Install virtualenv
|
||||||
|
apt: name=python-virtualenv
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install postfix, needed by notification engine
|
- name: Install postfix, needed by notification engine
|
||||||
apt: name=postfix state=present
|
apt: name=postfix state=present
|
||||||
@ -71,7 +73,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- cli
|
- cli
|
||||||
- name: Update cli
|
- name: Update cli
|
||||||
pip: name=python-monascaclient state=latest
|
pip: name=python-monascaclient state=latest virtualenv="{{monasca_virtualenv_dir}}"
|
||||||
tags:
|
tags:
|
||||||
- cli
|
- cli
|
||||||
roles:
|
roles:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user