Skip to content

Commit

Permalink
Run occ integrity:check-core on each role run
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed May 25, 2017
1 parent fcd0f2a commit a6e85df
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tasks/setup_owncloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,13 @@

# ownCloud integrity check [[[

# TODO: Enable. As of ownCloud 9.0.4, the results from `occ` don’t match the web interface output?
# - name: Check ownCloud core integrity
# command: '{{ owncloud__occ_bin_file_path | quote }} integrity:check-core'
# register: owncloud__register_occ_integrity_check_core
# failed_when: (owncloud__register_occ_integrity_check_core.stdout_lines|length != 0)
# changed_when: False
# when: (owncloud__release | version_compare("9.1", "<="))
- name: Check ownCloud core integrity
command: '{{ owncloud__occ_bin_file_path | quote }} integrity:check-core'
register: owncloud__register_occ_integrity_check_core
failed_when: (owncloud__register_occ_integrity_check_core.stdout_lines|length != 0)
changed_when: False
# As of ownCloud 9.0.4, the results from `occ` don’t match the web interface output?
# Seems to work with ownCloud 9.0.8 and Nextcloud 11.
when: (owncloud__release | version_compare("9.0.8", ">="))

# ]]]

0 comments on commit a6e85df

Please sign in to comment.