ns2.col.foo filter – The foo filter bar

Note

This filter 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.foo.

New in ns2.col 1.3.0

Synopsis

Input

This describes the input of the filter, the value before | ns2.col.foo.

Parameter

Comments

Input

string / required

The main input.

Keyword parameters

This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following example: input | ns2.col.foo(key1=value1, key2=value2, ...)

Parameter

Comments

bar

string

Some bar.

foo

list / elements=dictionary / required

Some foo.

Examples

some_var: "{{ 'foo' | ns2.col.foo }}"

Return Value

Key

Description

Return value

string

The result.

Returned: success