homelab-k3s/ansible_env/lib/python3.12/site-packages/ansible/plugins/test/skip.yml
2024-10-29 23:33:00 +03:00

23 lines
623 B
YAML

DOCUMENTATION:
name: skipped
author: Ansible Core
version_added: "1.9"
short_description: Was task skipped
aliases: [skip]
description:
- Tests if task was skipped
- This test checks for the existence of a C(skipped) key in the input dictionary and that it is V(True) if present
options:
_input:
description: registered result from an Ansible task
type: dictionary
required: True
EXAMPLES: |
# test 'status' to know how to respond
{{ taskresults is skipped }}
RETURN:
_value:
description: Returns V(True) if the task was skipped, V(False) otherwise.
type: boolean