From 785c660432a4740b1b4e8d9810298cf6effc8abd Mon Sep 17 00:00:00 2001 From: Sudheer Satyanarayana Date: Fri, 12 Jan 2018 12:57:38 +0530 Subject: [PATCH] Clarify recursive If recursive is set to yes, the module changes the attributes of the directory recursively even though state: directory is not set. --- lib/ansible/modules/files/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index 7a78c7d392d..ce663dd5076 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -57,7 +57,7 @@ options: relative and nonexisting paths. Relative paths are not expanded. recurse: description: - - recursively set the specified file attributes (applies only to state=directory) + - recursively set the specified file attributes (applies only to directories) type: bool default: 'no' version_added: "1.1"