Fix update-gitops-status
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
6fbadf73e3
commit
8e54f82e12
@ -68,7 +68,10 @@ trap "rm -f $PLAYBOOK_LOG" EXIT
|
|||||||
|
|
||||||
# Run playbook (no -v flag to avoid file descriptor exhaustion in containers)
|
# Run playbook (no -v flag to avoid file descriptor exhaustion in containers)
|
||||||
# Exit code: 0 = synced, non-zero = drift detected (expected)
|
# Exit code: 0 = synced, non-zero = drift detected (expected)
|
||||||
|
# Disable callbacks and reduce file watchers to prevent inotify exhaustion
|
||||||
set +e
|
set +e
|
||||||
|
ANSIBLE_CALLBACKS_ENABLED="" \
|
||||||
|
ANSIBLE_STDOUT_CALLBACK=minimal \
|
||||||
ansible-playbook \
|
ansible-playbook \
|
||||||
-i "$INVENTORY_FILE" \
|
-i "$INVENTORY_FILE" \
|
||||||
"$PLAYBOOK" \
|
"$PLAYBOOK" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user