Skip to content

Commit

Permalink
🔥 Change version from 2 to 3 of pip which installs pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
tadashi-aikawa committed Dec 10, 2017
1 parent edfbe80 commit 67c005c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ansible/roles/pm/tasks/pip.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
- name: Install get-pip
- name: Install Pip2
become: true
shell: curl https://bootstrap.pypa.io/get-pip.py | python

- name: Install Pip3
become: true
apt:
name: python3-pip
state: latest
update_cache: yes

1 change: 1 addition & 0 deletions ansible/roles/python/tasks/pipenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
name: pipenv
extra_args: --user
state: latest
executable: pip3

0 comments on commit 67c005c

Please sign in to comment.