mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix typo in playbooks_tests.rst
shell task was used instead of debug
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user