Rename some roles to make ansible-lint happy.
This commit is contained in:
parent
4d791a65f1
commit
1db0b6ec31
75 changed files with 29 additions and 29 deletions
14
roles/nextcloudupgrade/handlers/main.yml
Normal file
14
roles/nextcloudupgrade/handlers/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
## DB fixes (only on upgrade)
|
||||
- name: add missing indices, columns and convert filecache
|
||||
command: "{{ item }}"
|
||||
args:
|
||||
chdir: "{{ nc_dir }}"
|
||||
warn: false
|
||||
register: cmd_result
|
||||
changed_when: cmd_result.stdout is search("updated successfully")
|
||||
with_items:
|
||||
- "sudo -u www-data php ./occ db:add-missing-indices"
|
||||
- "sudo -u www-data php ./occ db:add-missing-columns"
|
||||
- "sudo -u www-data php ./occ -n db:convert-filecache-bigint"
|
||||
listen: update and fix data base
|
Loading…
Add table
Add a link
Reference in a new issue