selective – only print certain tasks¶
New in version 2.4.
This callback only prints tasks that have been tagged with print_action or that have failed. This allows operators to focus on the tasks that provide value only.
Tasks that are not printed are placed with a ‘.’.
If you increase verbosity all tasks are printed.
The below requirements are needed on the local master node that executes this callback.
set as main display callback
This setting allows suppressing colorizing output
- debug: msg="This will not be printed" - debug: msg="But this will" tags: [print_action]
This callback is not guaranteed to have a backwards compatible interface. [preview]
This callback is maintained by the Ansible Community. [community]