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

Enable to suppress Ansible output #46

Closed
ckunki opened this issue Nov 8, 2023 · 1 comment
Closed

Enable to suppress Ansible output #46

ckunki opened this issue Nov 8, 2023 · 1 comment
Assignees
Labels
feature Product feature

Comments

@ckunki
Copy link
Contributor

ckunki commented Nov 8, 2023

Currently DSS in ansible_access.py calls external library ansible_runner.run().

Some output is already passed to argument printer defined in ansible_runner.py.

However Ansible prints some more output, that only can be suppressed when adding argument quiet=True to ansible_runner.run(), see documentation of ansible_runner.

The current ticket requests to

  1. add an argument to AnsibleAccess.run() enabling callers to control the value of argument quiet to method ansible_runner.run().
  2. Update callers like ansible_runner.py to pass argument quiet depending on the current log_level, e.g. quiet = (log_level >= logging.INFO).
@ckunki ckunki added the feature Product feature label Nov 8, 2023
@ckunki
Copy link
Contributor Author

ckunki commented Nov 22, 2023

Already done in the context of #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

1 participant