Migrate the ODCS db on backend node.

This commit is contained in:
Jan Kaluža 2018-01-17 09:53:45 +00:00
parent e2feacb1db
commit 07d1963a18

View file

@ -38,3 +38,15 @@
tags:
- odcs
- odcs/backend
- name: migrate the database
command: "{{ item }}"
with_items:
- odcs-manager upgradedb
- odcs-manager db migrate
become: yes
become_user: odcs
when: odcs_migrate_db
tags:
- odcs
- odcs/backend