Deprecated

Removed in 2.0.0

i

Reason:The 'default' callback plugin now supports this functionality | Alternative:'default' callback plugin with 'display_skipped_hosts = no' option

community.general.full_skip (1.3.14) — callback

suppresses tasks if all hosts skipped

Authors: Unknown (!UNKNOWN)

Install collection

Install with ansible-galaxy collection install community.general:==1.3.14


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.14

Description

Use this plugin when you do not care about any output for tasks that were completely skipped


Requirements

Inputs

    
display_ok_hosts:
    default: true
    description: Toggle to control displaying 'ok' task/host results in a task
    env:
    - name: ANSIBLE_DISPLAY_OK_HOSTS
    ini:
    - key: display_ok_hosts
      section: defaults
    name: Show 'ok' hosts
    type: bool
    version_added: '2.7'
    version_added_collection: ansible.builtin

show_custom_stats:
    default: false
    description: This adds the custom stats set via the set_stats plugin to the play recap
    env:
    - name: ANSIBLE_SHOW_CUSTOM_STATS
    ini:
    - key: show_custom_stats
      section: defaults
    name: Show custom stats
    type: bool

check_mode_markers:
    default: false
    description:
    - Toggle to control displaying markers when running in check mode.
    - The markers are C(DRY RUN) at the beginning and ending of playbook execution (when
      calling C(ansible-playbook --check)) and C(CHECK MODE) as a suffix at every play
      and task that is run in check mode.
    env:
    - name: ANSIBLE_CHECK_MODE_MARKERS
    ini:
    - key: check_mode_markers
      section: defaults
    name: Show markers when running in check mode
    type: bool
    version_added: '2.9'
    version_added_collection: ansible.builtin

show_per_host_start:
    default: false
    description: This adds output that shows when a task is started to execute for each
      host
    env:
    - name: ANSIBLE_SHOW_PER_HOST_START
    ini:
    - key: show_per_host_start
      section: defaults
    name: Show per host task start
    type: bool
    version_added: '2.9'
    version_added_collection: ansible.builtin

display_failed_stderr:
    default: false
    description: Toggle to control whether failed and unreachable tasks are displayed
      to STDERR (vs. STDOUT)
    env:
    - name: ANSIBLE_DISPLAY_FAILED_STDERR
    ini:
    - key: display_failed_stderr
      section: defaults
    name: Use STDERR for failed and unreachable tasks
    type: bool
    version_added: '2.7'
    version_added_collection: ansible.builtin

display_skipped_hosts:
    default: true
    description: Toggle to control displaying skipped task/host results in a task
    env:
    - name: ANSIBLE_DISPLAY_SKIPPED_HOSTS
    ini:
    - key: display_skipped_hosts
      section: defaults
    name: Show skipped hosts
    type: bool

show_task_path_on_failure:
    default: false
    description: When a task fails, display the path to the file containing the failed
      task and the line number. This information is displayed automatically for every
      task when running with C(-vv) or greater verbosity.
    env:
    - name: ANSIBLE_SHOW_TASK_PATH_ON_FAILURE
    ini:
    - key: show_task_path_on_failure
      section: defaults
    name: Show file path on failed tasks
    type: bool
    version_added: '2.11'
    version_added_collection: ansible.builtin