ibm.isam.include_only (1.1.1) — filter

Include

| "added in version" historical of ibm.isam"

Authors: IBM Security Orchestration <secorch@wwpdl.vnet.ibm.com>

Install collection

Install with ansible-galaxy collection install ibm.isam:==1.1.1


Add to requirements.yml

  collections:
    - name: ibm.isam
      version: 1.1.1

Description

filter takes a list 'a' and removes every tuple if the first value in the tuple matches a string 'b'

filter takes a dict 'a' and recursively calls himself to remove every tuple in a list matching 'b'

The return value is a dict with key `include_only`

Inputs

    
_input:
    description: The key to include from the tuple
    required: true
    type: string

Outputs

_value:
  description: A list of matching tuples.
  type: list