Skip to content

Commit 4522fdc

Browse files
committed
revert slurm playbook changes
1 parent 4127848 commit 4522fdc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ansible/slurm.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
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
@@ -20,7 +21,9 @@
2021
name: rebuild
2122

2223
- name: Set locked memory limits on user-facing nodes
23-
hosts: compute:login:!builder
24+
hosts:
25+
- compute
26+
- login
2427
become: yes
2528
tags: openhpc
2629
tasks:
@@ -31,7 +34,7 @@
3134
line: "* soft memlock unlimited"
3235

3336
- name: Block ssh to compute nodes for non-privileged users without running jobs
34-
hosts: compute:!builder
37+
hosts: compute
3538
become: yes
3639
tags:
3740
- openhpc
@@ -54,15 +57,12 @@
5457
- name: Setup slurm
5558
hosts: openhpc
5659
become: yes
57-
tags: openhpc
60+
tags:
61+
- openhpc
5862
tasks:
5963
- include_role:
6064
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
65+
tasks_from: "{{ 'runtime.yml' if appliances_mode == 'configure' else 'main.yml' }}"
6666

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

0 commit comments

Comments
 (0)