From cc17e2091d8b6c7325c4421efe8e2c76b2b047de Mon Sep 17 00:00:00 2001 From: levequej Date: Sun, 4 Dec 2016 17:19:28 +0100 Subject: [PATCH] Fix typo in playbooks_tests.rst shell task was used instead of debug --- docsite/rst/playbooks_tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/playbooks_tests.rst b/docsite/rst/playbooks_tests.rst index 2bb31ecf5f..3bee9190e0 100644 --- a/docsite/rst/playbooks_tests.rst +++ b/docsite/rst/playbooks_tests.rst @@ -24,7 +24,7 @@ To match strings against a substring or a regex, use the "match" or "search" fil url: "http://example.com/users/foo/resources/bar" tasks: - - shell: "msg='matched pattern 1'" + - debug: "msg='matched pattern 1'" when: url | match("http://example.com/users/.*/resources/.*") - debug: "msg='matched pattern 2'"