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

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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