mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in playbooks_tests.rst
shell task was used instead of debug
This commit is contained in:
parent
85bbce9d6b
commit
cc17e2091d
1 changed files with 1 additions and 1 deletions
|
@ -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'"
|
||||||
|
|
Loading…
Reference in a new issue