Ensure pvcapid is restarted after migrations
This commit is contained in:
parent
a54c730662
commit
b395f47852
|
@ -125,7 +125,6 @@
|
|||
service:
|
||||
name: "{{ item }}"
|
||||
state: restarted
|
||||
enabled: yes
|
||||
with_items:
|
||||
- pvcworkerd
|
||||
- pvchealthd
|
||||
|
@ -138,6 +137,14 @@
|
|||
command: /usr/share/pvc/pvc-api-db-upgrade
|
||||
run_once: yes
|
||||
|
||||
- name: restart API daemon to apply database migrations
|
||||
service:
|
||||
name: "{{ item }}"
|
||||
state: restarted
|
||||
with_items:
|
||||
- pvcapid
|
||||
run_once: yes
|
||||
|
||||
- name: unset PVC maintenance mode on first node
|
||||
command: pvc cluster maintenance off
|
||||
run_once: yes
|
||||
|
|
Loading…
Reference in New Issue