ansible.builtin.mksysb (v2.5.10) — module

Generates AIX mksysb rootvg backups.

| "added in version" 2.5 of ansible.builtin"

Authors: Kairo Araujo (@kairoaraujo)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.5.10

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:
    choices:
    - 'yes'
    - 'no'
    default: 'no'
    description:
    - Creates backup using snapshots.

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

extended_attrs:
    choices:
    - 'yes'
    - 'no'
    default: 'yes'
    description:
    - Backup extended attributes.

new_image_data:
    choices:
    - 'yes'
    - 'no'
    default: 'yes'
    description:
    - Creates a new file data.

backup_dmapi_fs:
    choices:
    - 'yes'
    - 'no'
    default: 'yes'
    description:
    - Back up DMAPI filesystem files.

create_map_files:
    choices:
    - 'yes'
    - 'no'
    default: 'no'
    description:
    - Creates a new MAP files.

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

backup_crypt_files:
    choices:
    - 'yes'
    - 'no'
    default: 'yes'
    description:
    - Backup encrypted files.

exclude_wpar_files:
    choices:
    - 'yes'
    - 'no'
    default: 'no'
    description:
    - Excludes WPAR files.

Outputs

changed:
  description: Return changed for mksysb actions as true or false.
  returned: always
  type: boolean
  version_added: 2.5
  version_added_collection: ansible.builtin
msg:
  description: Return message regarding the action.
  returned: always
  type: string
  version_added: 2.5
  version_added_collection: ansible.builtin