ansible-role-nextcloud-docker/handlers/main.yml

26 lines
696 B
YAML
Raw Permalink Normal View History

2021-11-11 13:25:47 +01:00
---
- 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