community.general.mksysb module – Generates AIX mksysb rootvg backups
Note
This module is part of the community.general collection (version 11.4.0).
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. 
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 backup is stored. | |
| Creates backup using snapshots. Choices: 
 | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: full | Can run in  | |
| Support: none | Returns details on what has changed (or possibly needs changing in  | 
See Also
See also
- C(mksysb) command manual page
- Manual page for the command. 
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 message regarding the action. Returned: always | 
