diff --git a/update-gitops-status.sh b/update-gitops-status.sh index ff6433d..58a8d8c 100644 --- a/update-gitops-status.sh +++ b/update-gitops-status.sh @@ -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" \