[stable-2.15] Update any.yml (#83605)

* fixed typo in description
* fixed comment in examples

(cherry picked from commit 506d12de69)

Co-authored-by: Alex Barth <alexbarth92@outlook.com>
pull/83784/head
Abhijeet Kasurde 4 months ago committed by GitHub
parent c188c6256e
commit 7d9707f51b
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