diff --git a/changelogs/fragments/find-contains-docs.yaml b/changelogs/fragments/find-contains-docs.yaml new file mode 100644 index 00000000000..4f87df622fa --- /dev/null +++ b/changelogs/fragments/find-contains-docs.yaml @@ -0,0 +1,2 @@ +bugfixes: + - find - clarify description of ``contains`` (https://github.com/ansible/ansible/issues/61983) diff --git a/lib/ansible/modules/files/find.py b/lib/ansible/modules/files/find.py index ade80385af2..b516c4fbbe8 100644 --- a/lib/ansible/modules/files/find.py +++ b/lib/ansible/modules/files/find.py @@ -56,7 +56,7 @@ options: version_added: "2.5" contains: description: - - One or more regex patterns which should be matched against the file content. + - A regular expression or pattern which should be matched against the file content. type: str paths: description: