community.general.vertica_facts (0.1.4) — module

Gathers Vertica database facts.

Authors: Dariusz Owczarek (@dareko)

Install collection

Install with ansible-galaxy collection install community.general:==0.1.4


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.4

Description

Gathers Vertica database information.

This module was called C(vertica_facts) before Ansible 2.9, returning C(ansible_facts). Note that the M(vertica_info) module no longer returns C(ansible_facts)!


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Gathering vertica facts
  vertica_info: db=db_name
  register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Print schemas
  debug:
    msg: "{{ result.vertica_schemas }}"

Inputs

    
db:
    description:
    - Name of the database running the schema.

port:
    default: 5433
    description: Database port to connect to.

cluster:
    default: localhost
    description:
    - Name of the cluster running the schema.

login_user:
    default: dbadmin
    description:
    - The username used to authenticate with.

login_password:
    description:
    - The password used to authenticate with.