Debian Codegraph @

lib/ansible/plugins/test/urn.yml

raw
1 DOCUMENTATION:
2 name: urn
3 author: Ansible Core
4 version_added: "2.14"
5 short_description: is the string a valid URN
6 description:
7 - Validates that the input string conforms to the URN standard.
8 options:
9 _input:
10 description: Possible URN.
11 type: string
12 required: True
13 EXAMPLES: |
14 # ISBN in URN format
15 {{ 'urn:isbn:9780302376463' is urn }}
16 # this is URL/URI but not URN
17 {{ 'mailto://[email protected]' is not urn }}
18 RETURN:
19 _value:
20 description: Returns V(true) if the string is a URN and V(false) if it is not.
21 type: boolean