Skip to content

Commit fe5ff1b

Browse files
committed
Restart slurmd and slurmctld after a Slurm upgrade
Make sure to execute the correct Slurm after the upgrade. Otherwise, this may cause issues when reloading the service during logrotate since some files changed on the system.
1 parent b95ab5f commit fe5ff1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks/common.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
ansible.builtin.package:
55
name: "{{ __slurm_packages.client }}"
66
state: "{{ 'latest' if slurm_upgrade else 'present' }}"
7+
notify:
8+
- Restart slurmd
9+
- Restart slurmctld
710

811
- name: Include config dir creation tasks
912
ansible.builtin.include_tasks: _inc_create_config_dir.yml

0 commit comments

Comments
 (0)