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
|
state: reloaded
|
||||||
when: "'slurmexechosts' in group_names"
|
when: "'slurmexechosts' in group_names"
|
||||||
|
|
||||||
|
- name: restart slurmd
|
||||||
|
service:
|
||||||
|
name: "{{ slurmd_service_name }}"
|
||||||
|
state: restarted
|
||||||
|
when: "'slurmexechosts' in group_names"
|
||||||
|
|
||||||
- name: reload slurmctld
|
- name: reload slurmctld
|
||||||
service:
|
service:
|
||||||
name: "{{ slurmctld_service_name }}"
|
name: "{{ slurmctld_service_name }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
when: "'slurmservers' in group_names"
|
when: "'slurmservers' in group_names"
|
||||||
|
|
||||||
|
- name: restart slurmctld
|
||||||
|
service:
|
||||||
|
name: "{{ slurmctld_service_name }}"
|
||||||
|
state: restarted
|
||||||
|
when: "'slurmservers' in group_names"
|
||||||
|
|
||||||
- name: reload slurmdbd
|
- name: reload slurmdbd
|
||||||
service:
|
service:
|
||||||
name: "{{ slurmdbd_service_name }}"
|
name: "{{ slurmdbd_service_name }}"
|
||||||
|
|
|
@ -46,8 +46,8 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0444
|
mode: 0444
|
||||||
notify:
|
notify:
|
||||||
- reload slurmd
|
- restart slurmd
|
||||||
- reload slurmctld
|
- restart slurmctld
|
||||||
|
|
||||||
- name: Install slurmdbd.conf
|
- name: Install slurmdbd.conf
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in New Issue