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 2020
2121# NOTE: we need this running before slurmd
2222# Allows you to reconfigure slurmctld from another host
23- - name : Restart slurmctld service
23+ - name : Issue slurmctld restart command
2424 service :
2525 name : " slurmctld"
2626 state : restarted
2929 when :
3030 - openhpc_slurm_service_started | bool
3131 - 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
3244
3345- name : Restart slurmd service
3446 service :
You can’t perform that action at this time.
0 commit comments