Skip to content

Commit 11ee7df

Browse files
committed
Improved pre script
1 parent c303960 commit 11ee7df

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

tests/pre.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,13 @@
33
- name: pre | install dependencies
44
apt:
55
name: "{{ item }}"
6-
state: latest
6+
state: "{{ apt_install_state | default('latest') }}"
77
update_cache: true
88
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
99
with_items:
1010
- python
1111
- curl
1212

13-
- name: pre | install setuptools
14-
shell: "curl -sL https://bootstrap.pypa.io/ez_setup.py | python -"
15-
changed_when: false
16-
1713
- name: pre | install pip
18-
easy_install:
19-
name: pip
20-
21-
- name: pre | update pip
22-
pip:
23-
name: pip
24-
state: latest
14+
shell: curl -sL https://bootstrap.pypa.io/get-pip.py | python -
15+
changed_when: false

0 commit comments

Comments
 (0)