Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added limit argument to ansible_parallel.py #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hugo-azevedo
Copy link

Some ansible tasks may produce stderr or stdout messages that exceed the default stream buffer limit. When this happens a string message is appended to the playbook results array, which causes the final return sum(results) to bomb out with a TypeError: unsupported operand type(s) for +: 'int' and 'ValueError' error.

This change allows a user to specify a new buffer limit as a cli argument to accommodate for such scenarios.

Some ansible tasks may produce stderr or stdout messages that exceed the default stream buffer limit. When this happens a string message is appended to the playbook results array, which causes the final `return sum(results)` to bomb out with a `TypeError: unsupported operand type(s) for +: 'int' and 'ValueError'` error.

This change allows a user to specify a new buffer limit as a cli argument to accommodate for such scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant