community / community.general / 1.3.11 / callback / selective only print certain tasks Authors: Unknown (!UNKNOWN)community.general.selective (1.3.11) — callback
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
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.
- ansible.builtin.debug: msg="This will not be printed"
- ansible.builtin.debug: msg="But this will" tags: [print_action]
nocolor: default: false description: This setting allows suppressing colorizing output env: - name: ANSIBLE_NOCOLOR - name: ANSIBLE_SELECTIVE_DONT_COLORIZE ini: - key: nocolor section: defaults type: boolean