From 2375fd099035fadb781c7bfdb8bc8ce18b5e0601 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Thu, 26 Sep 2019 11:33:14 -0400 Subject: [PATCH] find - clarify description of 'contains' (#62445) --- changelogs/fragments/find-contains-docs.yaml | 2 ++ lib/ansible/modules/files/find.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/find-contains-docs.yaml 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: