|
16 | 16 | connections:"{{ connstrs.results | map(attribute='ansible_facts.connstr') | join }}"
|
17 | 17 |
|
18 | 18 | -name:copy transfers binary
|
19 |
| -copy:src=perf/perf.linux dest=~/perf mode=a+x |
| 19 | +copy:src=perf/perf.linux dest=~/perf mode=0755 |
20 | 20 |
|
21 | 21 | -hosts:clients[0]
|
22 | 22 | gather_facts:no
|
23 | 23 | tasks:
|
24 | 24 | -name:fill the databases
|
25 |
| -shell:"./perf {{connections}} -g -i" |
| 25 | +shell:"~/perf {{connections}} -g -i" |
26 | 26 | register:transfers_result
|
27 | 27 | -debug:"var=transfers_result"
|
28 | 28 |
|
29 | 29 | -hosts:clients[0]
|
30 | 30 | gather_facts:no
|
31 | 31 | tasks:
|
32 | 32 | -name:run transfers
|
33 |
| -shell:"./perf {{connections}} {{runkeys | d('-g -w 64 -r 1 -n 1000 -a 10000')}}" |
| 33 | +shell:"~/perf {{connections}} {{runkeys | d('-g -w 64 -r 1 -n 1000 -a 10000')}}" |
34 | 34 | register:transfers_result
|
35 | 35 | -debug:var=transfers_result
|
36 | 36 |
|