From aae82ff560f9f55313a354aac9d0c4ba4bbfb2f1 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 18 Jan 2021 21:21:45 +0100 Subject: [PATCH] Update documentation for "contains" parameter (#73107) Co-authored-by: Abhijeet Kasurde --- lib/ansible/modules/find.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/find.py b/lib/ansible/modules/find.py index 33648cd84f6..04efff23843 100644 --- a/lib/ansible/modules/find.py +++ b/lib/ansible/modules/find.py @@ -56,6 +56,7 @@ options: contains: description: - A regular expression or pattern which should be matched against the file content. + - Works only when I(file_type) is C(file). type: str read_whole_file: description: