26 lines
696 B
YAML
26 lines
696 B
YAML
---
|
|
- name: Add missing indices
|
|
become: yes
|
|
command:
|
|
chdir: "{{ compose_dir }}/nextcloud"
|
|
cmd: "{{ nextcloud_occ_cmd }} db:add-missing-indices"
|
|
listen: Checking database
|
|
register: output
|
|
|
|
- name: Add missing primary keys
|
|
become: yes
|
|
command:
|
|
chdir: "{{ compose_dir }}/nextcloud"
|
|
cmd: "{{ nextcloud_occ_cmd }} db:add-missing-primary-keys"
|
|
listen: Checking database
|
|
register: output
|
|
ignore_errors: yes # TODO this is a production hotfix
|
|
|
|
- name: Convert filecache bigint
|
|
become: yes
|
|
command:
|
|
chdir: "{{ compose_dir }}/nextcloud"
|
|
cmd: "{{ nextcloud_occ_cmd }} db:convert-filecache-bigint --no-interaction"
|
|
listen: Checking database
|
|
register: output
|