From ea8924f744b27c449eeba44bd75f113dadaaa781 Mon Sep 17 00:00:00 2001 From: Richard Schwab Date: Wed, 12 Sep 2018 17:00:49 +0000 Subject: [PATCH] Make it clear that recurse only applies to state=directory (#40222) This would otherwise cause confusion as it could be interpreted as only changing attributes for directories (and not files inside). +label: docsite_pr --- 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 c61318bcc24..f398f9d9f21 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -58,7 +58,7 @@ options: created (C(path)) which is how the UNIX command C(ln -s SRC DEST) treats relative paths. recurse: description: - - recursively set the specified file attributes (applies only to directories) + - recursively set the specified file attributes (applies only to C(state=directory)) type: bool default: 'no' version_added: "1.1"