From ea30fd15b55f80ff6b20ed89a6dad9c12389ba7d Mon Sep 17 00:00:00 2001 From: Edwin Smulders Date: Tue, 26 Feb 2019 22:06:06 +0100 Subject: Clarify restrictions of excludes property in find module. (#49549) --- lib/ansible/modules/files/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/find.py b/lib/ansible/modules/files/find.py index d3bfee2d79..0b85dfc47b 100644 --- a/lib/ansible/modules/files/find.py +++ b/lib/ansible/modules/files/find.py @@ -45,7 +45,7 @@ options: excludes: description: - One or more (shell or regex) patterns, which type is controlled by C(use_regex) option. - - Items matching an C(excludes) pattern are culled from C(patterns) matches. + - Items whose basenames match an C(excludes) pattern are culled from C(patterns) matches. Multiple patterns can be specified using a list. type: list aliases: [ exclude ] -- cgit v1.2.1