Changing node counts requires a full restart of at least slurmctld (not

sure about slurmd)
This commit is contained in:
Nate Coraor 2016-04-15 12:01:32 -04:00
parent de24942d59
commit 77548ed51d
2 changed files with 14 additions and 2 deletions

View File

@ -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 }}"

View File

@ -46,8 +46,8 @@
group: root
mode: 0444
notify:
- reload slurmd
- reload slurmctld
- restart slurmd
- restart slurmctld
- name: Install slurmdbd.conf
template: