Skip to content

Commit 40bb7d5

Browse files
Fix the site.yml for when condition for hostname
1 parent a89fed7 commit 40bb7d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

playbooks/site.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
vars_files:
77
- "/opt/oci-hpc/conf/queues.conf"
88
gather_facts: true
9-
roles:
10-
- hostname
11-
when: slurm | default(false) | bool
9+
tasks:
10+
- include_role:
11+
name: hostname
12+
when: slurm | default(false) | bool
1213

1314
# for ubuntu, on all compute nodes, run --fix-broken install
1415
- hosts: compute, login

0 commit comments

Comments
 (0)