File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 190
190
tasks_from : install.yml
191
191
when : " 'alertmanager' in group_names"
192
192
193
+ - name : Download HPL source
194
+ inlcude_role :
195
+ name : hpctests
196
+ tasks_from : source-hpl.yml
197
+
193
198
- hosts : prometheus
194
199
become : yes
195
200
gather_facts : yes
Original file line number Diff line number Diff line change 5
5
path : " {{ hpctests_rootdir }}/hpl"
6
6
state : directory
7
7
8
- - name : Download HPL sources
9
- unarchive :
10
- src : " http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
8
+ - name : Copy HPL sources from /opt/hpl
9
+ copy :
10
+ src : " /opt/hpl/hpl-{{ hpctests_hpl_version }}/"
11
+ dest : " {{ hpctests_rootdir }}/hpl/hpl-{{ hpctests_hpl_version }}/"
11
12
remote_src : yes
12
- dest : " {{ hpctests_rootdir }}/hpl"
13
- keep_newer : yes
13
+ owner : " {{ hpctests_user }}"
14
+ group : " {{ hpctests_group }}"
15
+ mode : ' 0755'
14
16
15
17
- name : Copy BLAS make file
16
18
command :
17
- cmd : " cp setup/Make.Linux_PII_CBLAS Make.{{ hpctests_hpl_arch }}"
19
+ cmd : " cp setup/Make.Linux_PII_CBLAS {{ hpctests_hpl_srcdir }}/ Make.{{ hpctests_hpl_arch }}"
18
20
chdir : " {{ hpctests_hpl_srcdir }}"
19
21
creates : " {{ hpctests_hpl_srcdir }}/Make.{{ hpctests_hpl_arch }}"
20
22
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ - name : Make directory
4
+ file :
5
+ path : " /opt/hpl"
6
+ state : directory
7
+ mode : ' 0755'
8
+
9
+ - name : Download HPL sources
10
+ unarchive :
11
+ src : " http://www.netlib.org/benchmark/hpl/hpl-{{ hpctests_hpl_version }}.tar.gz"
12
+ remote_src : yes
13
+ dest : " /opt/hpl"
14
+ keep_newer : yes
15
+ mode : ' 0755'
You can’t perform that action at this time.
0 commit comments