ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
14.06k stars 3.42k forks source link

AWX does not support verbosity as high as Ansible-core #14027

Open AlanCoding opened 1 year ago

AlanCoding commented 1 year ago

Please confirm the following

Feature type

New Feature

Feature Summary

In updating our help text, comparing against ansible-playbook --help, I made a startling discovery.

  -v, --verbose         Causes Ansible to print more debug messages. Adding
                        multiple -v will increase the verbosity, the builtin
                        plugins currently evaluate up to -vvvvvv. A reasonable
                        level to start is -vvv, connection debugging might
                        require -vvvv.

That's 6 vs! Our code only supports 5

https://github.com/ansible/awx/blob/5afdfb11351dca986d62c7ebbfc7438c55274449/awx/main/tasks/jobs.py#L999

https://github.com/ansible/awx/blob/5afdfb11351dca986d62c7ebbfc7438c55274449/awx/main/models/base.py#L67-L74

This was changed not too long ago in https://github.com/ansible/ansible/pull/76887

Select the relevant components

Steps to reproduce

Use a lot of -vs on the CLI

Current results

Can't do that many in AWX

Sugested feature result

AWX can do however many CLI can do.

Additional information

No response

mabashian commented 1 year ago

I'm not sure what a solution would look like here but if we end up adding another "level" to verbosity that would have ui impact because hard code the list of verbosity options in a few places.