hypersql_devops.postgres.supported_roles (0.3.0) — lookup

Get the list of the supported roles by the current host

Authors: Julien Tachoires

Install collection

Install with ansible-galaxy collection install hypersql_devops.postgres:==0.3.0


Add to requirements.yml

  collections:
    - name: hypersql_devops.postgres
      version: 0.3.0

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