What is the nature and description of the request?
Customer would like to cleanup the job output a bit by removing any tasks that have been skipped. Within the `ansible.builtin.default` callback plugin there is an option called `display_skipped_hosts` which is set to True by default. This variable has to be defined either as an environment variable or within the `ansible.cfg` file. There isn't a way to specify an `ansible_*` type variable at runtime.
Why does the customer need this? (List the business requirements here)
The job output can become cumbersome to read when there is a bunch of tasks that are being reported as skipped. But there are some skipped messages that might be useful to have in the job output.
How would you like to achieve this? (List the functional requirements here)
- See if there is a way to have the `ansible.builtin.default` callback plugin check for a specific `ansible_*` variable on each task
List any affected known dependencies: Doc, UI etc..
- ansible-core
Github Links