Changing node counts requires a full restart of at least slurmctld (not
sure about slurmd)
This commit is contained in:
parent
de24942d59
commit
77548ed51d
|
@ -6,12 +6,24 @@
|
|||
state: reloaded
|
||||
when: "'slurmexechosts' in group_names"
|
||||
|
||||
- name: restart slurmd
|
||||
service:
|
||||
name: "{{ slurmd_service_name }}"
|
||||
state: restarted
|
||||
when: "'slurmexechosts' in group_names"
|
||||
|
||||
- name: reload slurmctld
|
||||
service:
|
||||
name: "{{ slurmctld_service_name }}"
|
||||
state: reloaded
|
||||
when: "'slurmservers' in group_names"
|
||||
|
||||
- name: restart slurmctld
|
||||
service:
|
||||
name: "{{ slurmctld_service_name }}"
|
||||
state: restarted
|
||||
when: "'slurmservers' in group_names"
|
||||
|
||||
- name: reload slurmdbd
|
||||
service:
|
||||
name: "{{ slurmdbd_service_name }}"
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
group: root
|
||||
mode: 0444
|
||||
notify:
|
||||
- reload slurmd
|
||||
- reload slurmctld
|
||||
- restart slurmd
|
||||
- restart slurmctld
|
||||
|
||||
- name: Install slurmdbd.conf
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue