tmax_opensql.postgres.barman_server (1.0.3) — lookup

Lookup Barman 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 Barman 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 Barman server informations
  debug: msg="{{ lookup('barman_server') }}"

Inputs

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

default:
    description: barman_server_private_ip of the current node.

Outputs

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