Fix update-gitops-status
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
dvirlabs 2026-04-22 22:46:18 +03:00
parent 6fbadf73e3
commit 8e54f82e12

View File

@ -68,7 +68,10 @@ trap "rm -f $PLAYBOOK_LOG" EXIT
# Run playbook (no -v flag to avoid file descriptor exhaustion in containers)
# Exit code: 0 = synced, non-zero = drift detected (expected)
# Disable callbacks and reduce file watchers to prevent inotify exhaustion
set +e
ANSIBLE_CALLBACKS_ENABLED="" \
ANSIBLE_STDOUT_CALLBACK=minimal \
ansible-playbook \
-i "$INVENTORY_FILE" \
"$PLAYBOOK" \