diff --git a/docsite/rst/playbooks_tests.rst b/docsite/rst/playbooks_tests.rst index c341268d8a0..51bd0257171 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