summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docsite/rst/playbooks_tests.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docsite/rst/playbooks_tests.rst b/docsite/rst/playbooks_tests.rst
index c341268d8a..51bd025717 100644
--- a/docsite/rst/playbooks_tests.rst
+++ b/docsite/rst/playbooks_tests.rst
@@ -88,7 +88,7 @@ Testing paths
The following tests can provide information about a path on the controller::
- debug: msg="path is a directory"
- when: mypath|isdir
+ when: mypath|is_dir
- debug: msg="path is a file"
when: mypath|is_file