From f7f8df1773823bfa90d0d5ccad0db7b104442ea3 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 28 Oct 2015 09:31:18 -0400 Subject: [PATCH] since find doesn't make changes, support check mode and gather data for other tasks in check mode --- lib/ansible/modules/files/find.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/files/find.py b/lib/ansible/modules/files/find.py index 04ecddfe60..d6d1d42c4f 100644 --- a/lib/ansible/modules/files/find.py +++ b/lib/ansible/modules/files/find.py @@ -267,6 +267,7 @@ def main(): get_checksum = dict(default="False", type='bool'), use_regex = dict(default="False", type='bool'), ), + supports_check_mode=True, ) params = module.params