Skip to content

Commit ddbbd15

Browse files
committed
revert slurm playbook changes
1 parent 4127848 commit ddbbd15

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

ansible/slurm.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
- name: Setup DB
44
hosts: mysql
55
become: true
6-
tags: mysql
6+
tags:
7+
- mysql
78
tasks:
89
- include_role:
910
name: mysql
10-
tasks_from: "{{ 'install.yml' if appliances_mode == 'build' else 'main.yml' }}"
1111

1212
- name: Setup slurm-driven rebuild
1313
hosts: rebuild:!builder
@@ -20,7 +20,9 @@
2020
name: rebuild
2121

2222
- name: Set locked memory limits on user-facing nodes
23-
hosts: compute:login:!builder
23+
hosts:
24+
- compute
25+
- login
2426
become: yes
2527
tags: openhpc
2628
tasks:
@@ -31,7 +33,7 @@
3133
line: "* soft memlock unlimited"
3234

3335
- name: Block ssh to compute nodes for non-privileged users without running jobs
34-
hosts: compute:!builder
36+
hosts: compute
3537
become: yes
3638
tags:
3739
- openhpc
@@ -54,15 +56,12 @@
5456
- name: Setup slurm
5557
hosts: openhpc
5658
become: yes
57-
tags: openhpc
59+
tags:
60+
- openhpc
5861
tasks:
5962
- include_role:
6063
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' }}"
6665

6766
- name: Setup Node Health Checks
6867
# Has to be done here as it requires openhpc repos etc for installation

0 commit comments

Comments
 (0)