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

[FR]: Provide any mechanism for controlling STDOUT prints #7

Open
cicharka opened this issue Apr 16, 2024 · 0 comments
Open

[FR]: Provide any mechanism for controlling STDOUT prints #7

cicharka opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request needs-review

Comments

@cicharka
Copy link
Contributor

Please describe the problem

Ansible Module utils do not provide any mechanism for controlling STDOUT prints for custom written modules. We can scrap verbosity level (from -vvv flags), so we can enhance our custom developers logger now.

But for printing, we have no access to Ansible class Display from utils for Ansible Core. Guess there were reasons why they didn't provide it for the custom modules - but don't know yet why. And don't know how to overcome it easily.

Please describe the solution you'd like

Enable printing STDOUT (like some waiting time, retries etc.)

Additional context

No response

@cicharka cicharka added enhancement New feature or request needs-review labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-review
Projects
None yet
Development

No branches or pull requests

1 participant