-
Couldn't load subscription status.
- Fork 112
Make navigator image pulling silent #1955
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
base: main
Are you sure you want to change the base?
Conversation
Because podman in particular is overly verbose even when image is already present, we switch to a default quiet mode.
0182470 to
3eda29a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not change the default of --pull-arguments rather than hard coding this?
ansible-navigator run site.yml --mode stdout --ll debug --la false --pa=-q
|
We need to discuss about this but as someone that wants to use navigator from the cli to run multiple commands, I find the current default console output extremely verbose. To describe it as user story: as someone that uses ansible-navigator in stdout mode, I expect to see only the output of executed command on screen on subsequent runs. There is no need to be told about container pulling each time I run, same output again and again. I would not mind seeing something when a container IS PULLED (change occurred), but not when it was already updated. @tima Please take a look at this, maybe even try to run the commands yourself to get an impression so we can decide if we are to make a change and if we how we should do it. In fact is more about it, the entire data seen on screen is on stdout but the reality is that the text that I find annoying is effectively "logging" information, not the output of the executed command. I can quote from one of our favorite resources https://clig.dev/#output
To translate these for current case, I see the lines I want to remove as "messaging", and the ansible-playbook output as the "output" of the command. |
Because the default is to pull if tag ==latest (which is right), there may be a delay in bringing up the TUI. As long as the user is provided an explanation and the additional information is available via a cli param, I'm fine with some changes. |
Because podman in particular is overly verbose even when image is
already present, we switch to a default quiet mode.