File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 20
20
21
21
# NOTE: we need this running before slurmd
22
22
# Allows you to reconfigure slurmctld from another host
23
- - name : Restart slurmctld service
23
+ - name : Issue slurmctld restart command
24
24
service :
25
25
name : " slurmctld"
26
26
state : restarted
29
29
when :
30
30
- openhpc_slurm_service_started | bool
31
31
- openhpc_slurm_control_host in play_hosts
32
+ listen : Restart slurmctld service
33
+
34
+ - name : Check slurmctld actually restarted
35
+ wait_for :
36
+ port : 6817
37
+ delay : 10
38
+ delegate_to : " {{ openhpc_slurm_control_host }}"
39
+ run_once : true
40
+ when :
41
+ - openhpc_slurm_service_started | bool
42
+ - openhpc_slurm_control_host in play_hosts
43
+ listen : Restart slurmctld service
32
44
33
45
- name : Restart slurmd service
34
46
service :
You can’t perform that action at this time.
0 commit comments