Skip to content

Commit 7fb3ead

Browse files
author
Colin Hoglund
committed
dont use latest when installing packages
1 parent c4c5b60 commit 7fb3ead

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tasks/build_source.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22

33
- name: Install dependencies
4-
apt: name="{{item}}" state=latest update_cache=yes cache_valid_time=86400
4+
apt: name="{{item}}" update_cache=yes cache_valid_time=86400
55
with_items: "{{python_dependencies}}"
66

77
- name: Download python tarball

tasks/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
include: install_pip.yml
2323
when: pip_installed.stat.exists == false
2424

25-
- name: Upgrade pip
26-
pip: name=pip state=latest executable="{{python_pip_path}}" umask="{{python_pip_umask}}"
27-
2825
- name: Add system pip.conf
2926
template:
3027
src: pip.conf.j2
@@ -35,8 +32,8 @@
3532
when: python_pip_config is defined
3633

3734
# Install packages
38-
- name: Install/upgrade virtualenv
39-
pip: name=virtualenv state=latest executable="{{python_pip_path}}" umask="{{python_pip_umask}}"
35+
- name: Install virtualenv
36+
pip: name=virtualenv executable="{{python_pip_path}}" umask="{{python_pip_umask}}"
4037
when: python_major_version == '2'
4138

4239
- name: Install global packages

0 commit comments

Comments
 (0)