enfence.powerha_aix.ha_facts (1.3.2) — module

Gather facts about PowerHA

| "added in version" 1.3.0 of enfence.powerha_aix"

Authors: Andrey Klyachkin (@aklyachkin)

Install collection

Install with ansible-galaxy collection install enfence.powerha_aix:==1.3.2


Add to requirements.yml

  collections:
    - name: enfence.powerha_aix
      version: 1.3.2

Description

This module gathers information about the current PowerHA installation and configuration.

File collection facts are not complete now. We are working on it.

Please don't use 'all' in subset unless you know what you are doing. It can take a very long time on large clusters!

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# get complete information about PowerHA cluster. It takes long time!
- name: Get PowerHA information
  enfence.powerha_aix.ha_facts:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# get information about defined PowerHA networks
- name: Get PowerHA network information
  enfence.powerha_aix.ha_facts:
    subset: network

Inputs

    
subset:
    choices:
    - all
    - appcontroller
    - cluster
    - fc
    - fs
    - lv
    - mp
    - network
    - rg
    - service_ip
    - vg
    default: all
    description: subset of facts to return
    elements: str
    required: false
    type: list

Outputs

changed:
  description: set to true if the resource was changed
  returned: always
  type: bool
msg:
  description: error and informational messages
  returned: always
  type: str
rc:
  description: return code of the last executed command
  returned: always
  type: int
stderr:
  description: standard error of the last executed command
  returned: always
  type: str
stdout:
  description: standard output of the last executed command
  returned: always
  type: str