goldyfruit.ibmcloud_automation.ic_is_lb_member_info (1.0.4) — module

Retrieve VPC members 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 paginated list of all members that belong to the pool.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve member list from pool
  ic_is_lb_member_info:
    lb: ibmcloud-lb-baby
    pool: ibmcloud-lb-pool-baby
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve specific member from pool
  ic_is_lb_member_info:
    lb: ibmcloud-lb-baby
    pool: ibmcloud-lb-pool-baby
    member: r006-177cfb48-093d-4ead-84b5-cd3e59759ee4

Inputs

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

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

member:
    description:
    - Restrict results to member with ID matching.
    type: str