Skip to content

Commit

Permalink
Restart slurmd and slurmctld after a Slurm upgrade
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
btravouillon committed Feb 16, 2024
1 parent b95ab5f commit fe5ff1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
ansible.builtin.package:
name: "{{ __slurm_packages.client }}"
state: "{{ 'latest' if slurm_upgrade else 'present' }}"
notify:
- Restart slurmd
- Restart slurmctld

- name: Include config dir creation tasks
ansible.builtin.include_tasks: _inc_create_config_dir.yml
Expand Down

0 comments on commit fe5ff1b

Please sign in to comment.