Add database indexes not added automatically

This commit is contained in:
Kris Lamoureux 2020-01-29 23:36:14 -05:00
parent c914f93cdf
commit 0244ca03a5
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -101,6 +101,13 @@
chdir: "{{ nc_dir }}/public_html"
creates: "{{ nc_dir }}/public_html/config/config.php"
- name: Add Missing Database Indexes
command: php occ db:add-missing-indices
become_user: www-data
args:
chdir: "{{ nc_dir }}/public_html"
when: nextcloud_install.changed
- name: Add Domain Name to Trusted Domains
command: |
php occ config:system:set trusted_domains 0 --value={{ nc_domain }}