community.general.mksysb (0.1.4) — module

Generates AIX mksysb rootvg backups.

Authors: Kairo Araujo (@kairoaraujo)

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

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
  mksysb:
    name: myserver
    storage_path: /repository/images
    exclude_files: yes
    exclude_wpar_files: yes

Inputs

    
name:
    description:
    - Backup name
    required: true

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

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

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

extended_attrs:
    default: 'yes'
    description:
    - Backup extended attributes.
    type: bool

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

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

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

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

backup_crypt_files:
    default: 'yes'
    description:
    - Backup encrypted files.
    type: bool

exclude_wpar_files:
    default: 'no'
    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