tmax_opensql / tmax_opensql.postgres / 1.0.3 / lookup / pgpool2_nodes Lookup for PgPoolII nodes Authors: Julien Tachoirestmax_opensql.postgres.pgpool2_nodes (1.0.3) — lookup
Install with ansible-galaxy collection install tmax_opensql.postgres:==1.0.3
collections: - name: tmax_opensql.postgres version: 1.0.3
Lookup for PgPoolII nodes
- name: Show pgpool2 nodes debug: msg="{{ lookup('pgpool2_nodes') }}"
_terms: description: Private IP of the primary PG node. required: false default: description: Do not filter on primary private IP.
_value: description: - List of PgPoolII nodes elements: - dict: node_type, hostname, ansible_host (public IP address), private_ip, primary_private_ip type: list