ns2.col.bar test – Is something a bar

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.

Synopsis

Aliases: is_bar

Input

This describes the input of the test, the value before is ns2.col.bar or is not ns2.col.bar.

Parameter

Comments

Input

path

A path.

Examples

is_path_bar: "{{ '/etc/hosts' is ns2.col.bar }}}"

Return Value

Key

Description

Return value

boolean

Returns true if the path is a bar, false if it is not a bar.

Returned: success

Authors

  • Ansible Core