This commit is contained in:
parent
1968e787b1
commit
f3c947c9c4
@ -75,11 +75,9 @@ 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)
|
||||
# Use YAML callback for consistent debug output format
|
||||
# Limit forks to 1 to reduce file descriptor usage
|
||||
set +e
|
||||
ANSIBLE_FORCE_COLOR=false \
|
||||
ANSIBLE_STDOUT_CALLBACK=yaml \
|
||||
ANSIBLE_FORKS=1 \
|
||||
ansible-playbook \
|
||||
-i "$INVENTORY_FILE" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user