redhat.satellite.cp_label filter – Convert strings to Candlepin labels

Note

This filter plugin is part of the redhat.satellite collection (version 4.2.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 redhat.satellite.

To use it in a playbook, specify: redhat.satellite.cp_label.

New in redhat.satellite 0.1.0

Synopsis

  • Converts an arbitrary string to a valid Candlepin label

Input

This describes the input of the filter, the value before | redhat.satellite.cp_label.

Parameter

Comments

Input

string / required

String that should be converted

Examples

organization_label: "{{ 'Default Organization' | cp_label }}"
# => 'Default_Organization'

Return Value

Key

Description

Return value

string

The converted Candlepin label

Returned: success

Authors

  • Matthias Dellweg

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.