tmax_opensql.postgres.pgpool2_nodes (1.0.3) — lookup

Lookup for PgPoolII nodes

Authors: Julien Tachoires

Install collection

Install with ansible-galaxy collection install tmax_opensql.postgres:==1.0.3


Add to requirements.yml

  collections:
    - name: tmax_opensql.postgres
      version: 1.0.3

Description

Lookup for PgPoolII nodes

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show pgpool2 nodes
  debug: msg="{{ lookup('pgpool2_nodes') }}"

Inputs

    
_terms:
    description: Private IP of the primary PG node.
    required: false

default:
    description: Do not filter on primary private IP.

Outputs

_value:
  description:
  - List of PgPoolII nodes
  elements:
  - dict: node_type, hostname, ansible_host (public IP address), private_ip, primary_private_ip
  type: list