full_skip – suppresses tasks if all hosts skipped
New in version 2.4.
DEPRECATED
Removed in Ansible: | |
---|---|
version: 2.11 | |
Why: | The ‘default’ callback plugin now supports this functionality |
Alternative: | ‘default’ callback plugin with ‘display_skipped_hosts = no’ option |
Synopsis
- Use this plugin when you dont care about any output for tasks that were completly skipped
Requirements
The below requirements are needed on the local master node that executes this callback.
- set as stdout in configuation
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
display_failed_stderr boolean added in 2.7 |
| ini entries: [defaults] env:ANSIBLE_DISPLAY_FAILED_STDERR | Toggle to control whether failed and unreachable tasks are displayed to STDERR (vs. STDOUT) |
display_ok_hosts boolean added in 2.7 |
| ini entries: [defaults] env:ANSIBLE_DISPLAY_OK_HOSTS | Toggle to control displaying 'ok' task/host results in a task |
display_skipped_hosts boolean |
| ini entries: [defaults] env:DISPLAY_SKIPPED_HOSTS env:ANSIBLE_DISPLAY_SKIPPED_HOSTS | Toggle to control displaying skipped task/host results in a task |
show_custom_stats boolean |
| ini entries: [defaults] env:ANSIBLE_SHOW_CUSTOM_STATS | This adds the custom stats set via the set_stats plugin to the play recap |
Status
- This callback will be removed in version 2.11. [deprecated]
- For more information see DEPRECATED.
Authors
- UNKNOWN
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/plugins/callback/full_skip.html