Skip to content

Commit ffdbf05

Browse files
Run SLURM and SPACK installers before proceeding to compute hosts
1 parent 1ee240b commit ffdbf05

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

playbooks/site.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
name: grafana
171171
when: monitoring|default(false)|bool
172172

173-
- hosts: all
173+
- hosts: bastion
174174
vars:
175175
destroy: false
176176
initial: true
@@ -179,6 +179,19 @@
179179
- include_role:
180180
name: spack
181181
when: spack|default(false)|bool
182+
- include_role:
183+
name: telegraf
184+
when: monitoring|default(false)|bool
185+
- include_role:
186+
name: slurm
187+
when: slurm|default(false)|bool
188+
189+
- hosts: compute
190+
vars:
191+
destroy: false
192+
initial: true
193+
download_path: "{{ '/nfs/cluster/' if cluster_nfs|bool else '/tmp' }}"
194+
tasks:
182195
- include_role:
183196
name: slurm
184197
when: slurm|default(false)|bool

0 commit comments

Comments
 (0)