forked from jakub/ansible
Refactor check_stack_nextcloud.yml: enhance stack health check command with timeout and error handling
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
- "docker exec -u www-data nextcloud php occ app:update --all"
|
||||
- "docker exec -u www-data nextcloud php occ maintenance:repair --include-expensive"
|
||||
- "docker exec -u www-data nextcloud php occ status"
|
||||
- "bash /data/compose/nextcloud/stack-health.sh"
|
||||
- "set -o pipefail; timeout 180s bash -x /data/compose/nextcloud/stack-health.sh </dev/null"
|
||||
|
||||
tasks:
|
||||
- name: Ensure sshpass is installed (for password-based SSH) # English comments
|
||||
|
||||
Reference in New Issue
Block a user