File tree Expand file tree Collapse file tree 4 files changed +1
-8
lines changed Expand file tree Collapse file tree 4 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,4 @@ script:
4848python_install : [virtualenv]
4949python_versions : [2.7]
5050python_bin : /usr/bin/python
51- # python_pkg_bin: ~/virtualenv/python2.7.13/bin
5251python_pkg_bin : /home/travis/virtualenv/python2.7.13/bin
Original file line number Diff line number Diff line change 44
55- name : Install python-pycurl
66 apt : name=python-pycurl
7- become : true
87
98- name : Add python apt repository
109 apt_repository : repo={{python_ppa}} update_cache=yes
Original file line number Diff line number Diff line change 2222 pip : name="setuptools virtualenv" state=latest executable=pip{{item.item}}
2323 environment :
2424 PATH : " /usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin"
25- # when: item.changed
25+ when : item.changed
2626 with_items : " {{ python_pip_installed.results }}"
2727
2828- name : Install global python packages
2929 pip : name="{{python_install|join(' ')}}" executable={{python_pkg_bin}}/pip{{item}}
3030 when : python_install
3131 with_items : " {{ python_versions }}"
3232
33- - name : Reload ansible_facts
34- setup :
35-
3633- name : Install virtualenv
3734 pip : name="virtualenv" executable={{python_pkg_bin}}/pip{{item}}
3835 when : not( (python_virtualenvs is undefined) or (python_virtualenvs is none) or (python_virtualenvs | trim == '') )
Original file line number Diff line number Diff line change 11---
2-
3-
You can’t perform that action at this time.
0 commit comments