Update to 2022-08-29 11:00

This commit is contained in:
Daniel Berteaud
2022-08-29 11:00:17 +02:00
parent f17ab3267b
commit b213df4df4
30 changed files with 282 additions and 29 deletions

View File

@@ -0,0 +1,8 @@
---
- name: restart linstor-controller
service: name=linstor-controller state=restarted
# Only restart if the service wasn't just started, and if either HA is not used, or the service was running (so it's the current active instance)
when:
- not linctl_started.changed
- not linctl_ha or linctl_services.ansible_facts.services['linstor-controller.service'] is defined and linctl_services.ansible_facts.services['linstor-controller.service'].state == 'started'