Skip to content

Commit

Permalink
Add retry for slurm handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudfroidmont committed Dec 9, 2022
1 parent c5a3f32 commit 10a42e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbooks/roles/slurm/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
with_items:
- slurmdbd
- slurmctld
register: result
until: result is not failed
retries: 5
delay: 5

- name: restart slurm
become: true
Expand All @@ -17,6 +21,10 @@
enabled: true
with_items:
- slurmd
register: result
until: result is not failed
retries: 5
delay: 5

- name: restart munge
become: true
Expand Down

0 comments on commit 10a42e0

Please sign in to comment.