Skip to content

Commit

Permalink
Run SLURM and SPACK installers before proceeding to compute hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinZablocki committed Jun 22, 2021
1 parent 1ee240b commit ffdbf05
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion playbooks/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
name: grafana
when: monitoring|default(false)|bool

- hosts: all
- hosts: bastion
vars:
destroy: false
initial: true
Expand All @@ -179,6 +179,19 @@
- include_role:
name: spack
when: spack|default(false)|bool
- include_role:
name: telegraf
when: monitoring|default(false)|bool
- include_role:
name: slurm
when: slurm|default(false)|bool

- hosts: compute
vars:
destroy: false
initial: true
download_path: "{{ '/nfs/cluster/' if cluster_nfs|bool else '/tmp' }}"
tasks:
- include_role:
name: slurm
when: slurm|default(false)|bool
Expand Down

0 comments on commit ffdbf05

Please sign in to comment.