tmax_opensql.postgres.pgbackrest_server (1.0.3) — lookup

Lookup pgBackRest server, based on its private_ip

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 pgBackRest server, based on its private_ip

Usage examples

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

Inputs

    
_terms:
    description: Private IP of the pgBackRest server.
    required: false

default:
    description: pgbackrest_server_private_ip of the current node.

Outputs

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