Fix typo in playbooks_tests.rst

shell task was used instead of debug
pull/4420/head
levequej 2016-12-04 17:19:28 +01:00 committed by Brian Coca
parent 85bbce9d6b
commit cc17e2091d
1 changed files with 1 additions and 1 deletions

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