Skip to content

Commit 76f292e

Browse files
committed
rejoin node to cluster
1 parent a43a5f9 commit 76f292e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@
118118
echo "${HOSTNAME%.test.invalid}"
119119
register: short_hostname
120120

121-
- name: Include vars from NFS mount
122-
include_vars:
123-
file: "/mnt/cluster/{{ short_hostname.stdout }}/hostvars.yml"
121+
# - name: Include vars from NFS mount
122+
# include_vars:
123+
# file: "/mnt/cluster/{{ short_hostname.stdout }}/hostvars.yml"
124124
when:
125125
- iam_slurm_compute | bool
126126
- not nfs_mount_result.failed
@@ -319,6 +319,9 @@
319319
name: slurmd
320320
enabled: true
321321
state: started
322+
323+
- name: Ensure node is in cluster
324+
command: scontrol update state=resume nodename={{ short_hostname.stdout }}
322325
when:
323326
- iam_slurm_compute | bool
324327
- not nfs_mount_result.failed

0 commit comments

Comments
 (0)