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

1
  • Error
    Use a fully-qualified name, such as 'ansible.builtin.debug' instead of 'debug'.
1
  • Hint
    Inline module parameters used in module 'debug' also use Jinja expression. Will not be checked further.
- 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