File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 3
3
- name : Setup DB
4
4
hosts : mysql
5
5
become : true
6
- tags : mysql
6
+ tags :
7
+ - mysql
7
8
tasks :
8
9
- include_role :
9
10
name : mysql
10
- tasks_from : " {{ 'install.yml' if appliances_mode == 'build' else 'main.yml' }}"
11
11
12
12
- name : Setup slurm-driven rebuild
13
13
hosts : rebuild:!builder
20
20
name : rebuild
21
21
22
22
- name : Set locked memory limits on user-facing nodes
23
- hosts : compute:login:!builder
23
+ hosts :
24
+ - compute
25
+ - login
24
26
become : yes
25
27
tags : openhpc
26
28
tasks :
31
33
line : " * soft memlock unlimited"
32
34
33
35
- name : Block ssh to compute nodes for non-privileged users without running jobs
34
- hosts : compute:!builder
36
+ hosts : compute
35
37
become : yes
36
38
tags :
37
39
- openhpc
54
56
- name : Setup slurm
55
57
hosts : openhpc
56
58
become : yes
57
- tags : openhpc
59
+ tags :
60
+ - openhpc
58
61
tasks :
59
62
- include_role :
60
63
name : stackhpc.openhpc
61
- tasks_from : " {{ _openhpc_task_file[appliances_mode] | default('main.yml') }}"
62
- vars :
63
- _openhpc_task_file :
64
- build : install.yml
65
- configure : runtime.yml
64
+ tasks_from : " {{ 'runtime.yml' if appliances_mode == 'configure' else 'main.yml' }}"
66
65
67
66
- name : Setup Node Health Checks
68
67
# Has to be done here as it requires openhpc repos etc for installation
You can’t perform that action at this time.
0 commit comments