Skip to content

Commit

Permalink
Install python-dev in case compilation is needed for the packages
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbr committed Apr 30, 2015
1 parent 926f7b7 commit a201ea7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
pip: name=python-keystoneclient state=present virtualenv="{{monasca_virtualenv_dir}}"
when: not skip_install

- name: Install deps to avoid pip doing compilation or enable it
apt: name={{item}} state=present
with_items: dependencies
when: not skip_install

# These tasks need a Keystone v2 endpoint
- set_fact:
keystone_url_v2: "{{ keystone_url | replace('/v3', '/v2.0') }}"
Expand Down
3 changes: 3 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- python-dev

0 comments on commit a201ea7

Please sign in to comment.