goldyfruit.ibmcloud_automation.ic_is_lb_pool_info (1.0.4) — module

Retrieve VPC load balancer pools 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 lists all pools that belong to the load balancer.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve pool list from load balancer
  ic_is_lb_pool_info:
    lb: ibmcloud-lb-baby
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve specific pool from load balancer
  ic_is_lb_info:
    lb: ibmcloud-lb-baby
    pool: ibmcloud-lb-pool-baby

Inputs

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

pool:
    description:
    - Restrict results to pool with ID or name matching.
    type: str