Skip to content

Commit 61f9b98

Browse files
author
Andrieu, Alban
committed
Cleaning
1 parent 4562106 commit 61f9b98

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@ script:
4848
python_install: [virtualenv]
4949
python_versions: [2.7]
5050
python_bin: /usr/bin/python
51-
#python_pkg_bin: ~/virtualenv/python2.7.13/bin
5251
python_pkg_bin: /home/travis/virtualenv/python2.7.13/bin

tasks/install.deb.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
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

tasks/python.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@
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 == '') )

vars/Ubuntu.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
---
2-
3-

0 commit comments

Comments
 (0)