diff --git a/lib/ansible/modules/find.py b/lib/ansible/modules/find.py index fd5fd38985b..d2e6c8bc051 100644 --- a/lib/ansible/modules/find.py +++ b/lib/ansible/modules/find.py @@ -59,8 +59,8 @@ options: contains: description: - A regular expression or pattern which should be matched against the file content. - - If O(read_whole_file) is V(true) it matches against the beginning of the line (uses - V(re.match(\))). If O(read_whole_file) is V(false), it searches anywhere for that pattern + - If O(read_whole_file) is V(false) it matches against the beginning of the line (uses + V(re.match(\))). If O(read_whole_file) is V(true), it searches anywhere for that pattern (uses V(re.search(\))). - Works only when O(file_type) is V(file). type: str