diff --git a/oneshot/update-pvc-daemons.yml b/oneshot/update-pvc-daemons.yml index 3a8f244..96b42bc 100644 --- a/oneshot/update-pvc-daemons.yml +++ b/oneshot/update-pvc-daemons.yml @@ -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