controlware.utils.sort_cs_int_ranges (1.0.4) — filter

This filter sorts comma-separated integer range strings by sorting first integer value in each string.

| "added in version" 1.0.0 of controlware.utils"

Authors: Korte Noack (@kornoa)

Install collection

Install with ansible-galaxy collection install controlware.utils:==1.0.4


Add to requirements.yml

  collections:
    - name: controlware.utils
      version: 1.0.4

Description

This filter sorts comma-separated integer range strings by sorting first integer value in each string. returns: type: list description: List of comma-separated integer range string elements: str

Inputs

    
ranges_list:
    description: List of comma-separated integer range strings
    elements: str
    required: true
    type: list