Use new in-built database migrations in API

This commit is contained in:
2023-09-01 15:42:23 -04:00
parent 0e5cb688dc
commit b4079cae88
4 changed files with 5 additions and 16 deletions

View File

@ -46,9 +46,13 @@
- pdns.service
- dnsmasq.service
- name: prepare Patroni database migrations (on all hosts)
command: /usr/share/pvc/pvc-api-db-init
when: bootstrap is defined and bootstrap and is_coordinator
- include: pvc/bootstrap.yml
when: bootstrap is defined and bootstrap
run_once: yes
when: bootstrap is defined and bootstrap and is_coordinator
- name: enable daemon services but don't start them
service: