community.general.mksysb (8.5.0) — module

Generates AIX mksysb rootvg backups

Authors: Kairo Araujo (@kairoaraujo)

Install collection

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


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

This module manages a basic AIX mksysb (image) of rootvg.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Running a backup image mksysb
  community.general.mksysb:
    name: myserver
    storage_path: /repository/images
    exclude_files: true
    exclude_wpar_files: true

Inputs

    
name:
    description:
    - Backup name
    required: true
    type: str

storage_path:
    description:
    - Storage path where the mksysb will stored.
    required: true
    type: str

use_snapshot:
    default: false
    description:
    - Creates backup using snapshots.
    type: bool

exclude_files:
    default: false
    description:
    - Excludes files using C(/etc/rootvg.exclude).
    type: bool

extended_attrs:
    default: true
    description:
    - Backup extended attributes.
    type: bool

new_image_data:
    default: true
    description:
    - Creates a new file data.
    type: bool

backup_dmapi_fs:
    default: true
    description:
    - Back up DMAPI filesystem files.
    type: bool

create_map_files:
    default: false
    description:
    - Creates a new MAP files.
    type: bool

software_packing:
    default: false
    description:
    - Exclude files from packing option listed in C(/etc/exclude_packing.rootvg).
    type: bool

backup_crypt_files:
    default: true
    description:
    - Backup encrypted files.
    type: bool

exclude_wpar_files:
    default: false
    description:
    - Excludes WPAR files.
    type: bool

Outputs

changed:
  description: Return changed for mksysb actions as true or false.
  returned: always
  type: bool
msg:
  description: Return message regarding the action.
  returned: always
  type: str