Add database indexes not added automatically
This commit is contained in:
parent
c914f93cdf
commit
0244ca03a5
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user