summaryrefslogtreecommitdiffstats
path: root/lib/ansible/plugins/test/skipped.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/test/skipped.yml')
-rw-r--r--lib/ansible/plugins/test/skipped.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/ansible/plugins/test/skipped.yml b/lib/ansible/plugins/test/skipped.yml
new file mode 100644
index 0000000..9727172
--- /dev/null
+++ b/lib/ansible/plugins/test/skipped.yml
@@ -0,0 +1,22 @@
+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 existance of a C(skipped) key in the input dictionary and that it is C(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 C(True) if the task was skipped, C(False) otherwise.
+ type: boolean