Fix typo in playbooks_tests.rst

shell task was used instead of debug
This commit is contained in:
levequej 2016-12-04 17:19:28 +01:00 committed by Brian Coca
commit cc17e2091d

View file

@ -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" url: "http://example.com/users/foo/resources/bar"
tasks: tasks:
- shell: "msg='matched pattern 1'" - debug: "msg='matched pattern 1'"
when: url | match("http://example.com/users/.*/resources/.*") when: url | match("http://example.com/users/.*/resources/.*")
- debug: "msg='matched pattern 2'" - debug: "msg='matched pattern 2'"