ansible.builtin.ansible._protomatter.tagged test – does the value have a data tag
Note
This test plugin is part of ansible-core
and included in all Ansible
installations. In most cases, you can use the short
plugin name
tagged
.
However, we recommend you use the Fully Qualified Collection Name (FQCN) ansible.builtin.ansible._protomatter.tagged
for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same test plugin name.
New in ansible._protomatter 2.19
Synopsis
Check if the provided value has a data tag.
Input
This describes the input of the test, the value before is ansible.builtin.ansible._protomatter.tagged
or is not ansible.builtin.ansible._protomatter.tagged
.
Parameter |
Comments |
---|---|
A value. |
Examples
is_data_tagged: "{{ my_variable is ansible._protomatter.tagged }}"
Return Value
Key |
Description |
---|---|
Returns Returned: success |