goldyfruit.ibmcloud_automation.ic_is_lb_listener_info (1.0.4) — module

Retrieve VPC listeners from load balancer on IBM Cloud.

| "added in version" 2.9 of goldyfruit.ibmcloud_automation"

Authors: Gaëtan Trellu (@goldyfruit)

preview | supported by community

Install collection

Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4


Add to requirements.yml

  collections:
    - name: goldyfruit.ibmcloud_automation
      version: 1.0.4

Description

This module retrieves a list of all listeners that belong to the load balancer.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve listener list from load balancer
  ic_is_lb_listener_info:
    lb: ibmcloud-lb-baby
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve specific listener from load balancer
  ic_is_lb_listener_info:
    lb: ibmcloud-lb-baby
    listener: ibmcloud-lb-listener-baby
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve specific listener from load balancer by using port
  ic_is_lb_listener_info:
    lb: ibmcloud-lb-baby
    port: 443

Inputs

    
lb:
    description:
    - Load balancer name or ID.
    required: true
    type: str

port:
    description:
    - Restrict results to listener with port matching.
    type: int

listener:
    description:
    - Restrict results to listener with UUID matching.
    type: str