From ffdbf05024315ed1fcb41a5f5e1d8c4f9f92eb4e Mon Sep 17 00:00:00 2001 From: Marcin Zablocki Date: Mon, 21 Jun 2021 18:02:58 -0700 Subject: [PATCH] Run SLURM and SPACK installers before proceeding to compute hosts --- playbooks/site.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/playbooks/site.yml b/playbooks/site.yml index 2a95759a..92628b9f 100755 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -170,7 +170,7 @@ name: grafana when: monitoring|default(false)|bool -- hosts: all +- hosts: bastion vars: destroy: false initial: true @@ -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