-
Notifications
You must be signed in to change notification settings - Fork 0
/
clientrun.yml
69 lines (60 loc) · 1.29 KB
/
clientrun.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
- name: playbook to provision most of the Moodle Client Run
hosts: all
vars:
ansible_user: 'root'
become: 'true'
vars_files:
- default.config.yml
pre_tasks:
- debug:
msg: 'Beginning of build: {{ lookup("pipe", "date +%Y-%m-%dT%H:%M:%S%z") }}'
- name: set fact with build start timestamp
set_fact:
build_start: '{{ lookup("pipe", "date +%s") }}'
- name: include customised variables
include_vars: '{{ item }}'
with_fileglob:
- config.yml
post_tasks:
- debug:
msg:
- 'End of build: {{ lookup("pipe", "date +%Y-%m-%dT%H:%M:%S%z") }}'
- 'Build duration: {{ lookup("pipe", "date +%s")|int - build_start|int }} s'
roles:
# Client packages are as follows
- packages
- installjmeter
- preparingtests
- resetdbxx
- runtestXX
- resetdbss
- wait
- runtestSS
- resetdbsm
- wait
- runtestSM
- resetdbmm
- wait
- runtestM3
- resetdbmm
- wait
- runtestM4
- resetdbmm
- wait
- runtestM5
- resetdbmm
- wait
- runtestM6
- resetdbmm
- wait
- runtestM7
- resetdbmm
- wait
- runtestM8
- resetdbmm
- wait
- runtestM9
- resetdbmm
- wait
- runtestMM