Skip to content

Commit

Permalink
Turns out that the venv packages vary for Debian/Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuhlman committed Apr 29, 2015
1 parent 0c25287 commit 24ddea6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
- include_vars: "{{ ansible_distribution }}.yml"

- name: Install virtualenv
apt: name=python-virtualenv state=present
apt: name="{{ virtualenv_pkg }}" state=present
when: not skip_install

- name: Keystone User - Install dependencies
Expand Down
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
virtualenv_pkg: virtualenv
1 change: 1 addition & 0 deletions vars/Ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
virtualenv_pkg: python-virtualenv

0 comments on commit 24ddea6

Please sign in to comment.