[stable-2.17] Update any.yml (#83607)

* fixed typo in description
* fixed comment in examples

(cherry picked from commit 506d12de69)

Co-authored-by: Alex Barth <alexbarth92@outlook.com>
pull/83720/head
Abhijeet Kasurde 4 months ago committed by GitHub
parent 99c2b11153
commit 874f2a4e4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,7 +2,7 @@ DOCUMENTATION:
name: any
author: Ansible Core
version_added: "2.4"
short_description: is any conditions in a list true
short_description: is any condition in a list true
description:
- This test checks each condition in a list for truthiness.
- Same as the C(any) Python function.
@ -14,7 +14,7 @@ DOCUMENTATION:
required: True
EXAMPLES: |
varexpression: "{{ 3 == 3 }}"
# are all statements true?
# is any statement true?
{{ [false, booleanvar, varexpression] is any}}
RETURN:

Loading…
Cancel
Save