Skip to content

Commit 3e8f44c

Browse files
committed
Update ez_setup URL
1 parent e61947f commit 3e8f44c

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

ansible/roles/ez_setup/tasks/main.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
---
22
- name: Set ez_setup
33
set_fact:
4-
ez_setup_url: "https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py"
4+
ez_setup_url: "https://bootstrap.pypa.io/ez_setup.py"
55
file_path: "/tmp"
66
tags: ez_setup
7+
8+
- name: Ensure ez_setup.py does not exist
9+
file:
10+
path: "{{ file_path }}/ez_setup.py"
11+
state: absent
12+
tags: ez_setup
13+
14+
- name: Ensure setuptools does not exist
15+
file:
16+
path: "{{ file_path }}/setuptools-*"
17+
state: absent
18+
tags: ez_setup
19+
720
- name: Download ez_setup.py
821
get_url:
922
url: "{{ ez_setup_url }}"
1023
dest: "{{ file_path }}"
1124
tags: ez_setup
25+
1226
- name: Install ez_setup.py
1327
command: "python ez_setup.py"
1428
args:
1529
chdir: "{{ file_path }}"
1630
register: gg
1731
tags: ez_setup
32+
1833
- name: Remove ez_setup source code
1934
file:
2035
path: "{{ file_path }}/ez_setup.py"

ansible/roles/qperf/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
tags: qperf
4040
- name: Remove qperf source code
4141
file:
42-
path: "{{ temp_location }}/qperf-0.4.9"
42+
path: "{{ temp_location }}/qperf-0.4.9.tar.gz"
4343
state: absent
4444
tags: qperf

0 commit comments

Comments
 (0)