3
0
forked from jakub/ansible

Refactor check_stack_nextcloud.yml: enhance stack health check command with timeout and error handling

This commit is contained in:
fencl
2025-10-05 09:16:16 +02:00
parent cbac27b3f2
commit 1a8690529c

View File

@@ -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