tmax_opensql.postgres.supported_roles (1.0.3) — lookup

Get the list of the supported roles by the current host

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

Get the list of the supported roles byt the current host, based on its groups and attributes.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get the supported roles by the current host
  debug: msg="{{ lookup('supported_roles') }}"

Outputs

_value:
  description:
  - List of role name
  elements:
  - string
  type: list