community.general.mksysb module – Generates AIX mksysb rootvg backups
Note
This module is part of the community.general collection (version 8.6.7).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.mksysb
.
Synopsis
This module manages a basic AIX mksysb (image) of rootvg.
Aliases: system.mksysb
Parameters
Parameter |
Comments |
---|---|
Backup encrypted files. Choices:
|
|
Back up DMAPI filesystem files. Choices:
|
|
Creates a new MAP files. Choices:
|
|
Excludes files using Choices:
|
|
Excludes WPAR files. Choices:
|
|
Backup extended attributes. Choices:
|
|
Backup name |
|
Creates a new file data. Choices:
|
|
Exclude files from packing option listed in Choices:
|
|
Storage path where the mksysb will stored. |
|
Creates backup using snapshots. Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: Running a backup image mksysb
community.general.mksysb:
name: myserver
storage_path: /repository/images
exclude_files: true
exclude_wpar_files: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Return changed for mksysb actions as true or false. Returned: always |
|
Return message regarding the action. Returned: always |