Note
This test plugin is part of the ns2.col collection (version 2.1.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install ns2.col.
To use it in a playbook, specify: ns2.col.bar.
Check whether a path is a bar.
Aliases: is_bar
This describes the input of the test, the value before is ns2.col.bar or is not ns2.col.bar.
Parameter |
Comments |
|---|---|
A path. |
is_path_bar: "{{ '/etc/hosts' is ns2.col.bar }}}"
Key |
Description |
|---|---|
Returns Returned: success |