File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change
1
+ trivial :
2
+ - zos_backup_restore - Updated documentation on zos_backup_restore to notify about return
3
+ values of Backup and restore operation.
4
+ (https://github.com/ansible-collections/ibm_zos_core/pull/2049).
Original file line number Diff line number Diff line change 227
227
documentation to configure the required security classes.
228
228
"""
229
229
230
- RETURN = r""""""
231
-
232
230
EXAMPLES = r"""
233
231
- name: Backup all data sets matching the pattern USER.** to data set MY.BACKUP.DZP
234
232
zos_backup_restore:
351
349
sms_storage_class: DB2SMS10
352
350
sms_management_class: DB2SMS10
353
351
"""
352
+ RETURN = r"""
353
+ changed:
354
+ description:
355
+ - Indicates if the operation made changes.
356
+ - C(true) when backup/restore was successful, C(false) otherwise.
357
+ returned: always
358
+ type: bool
359
+ sample: true
360
+ backup_name:
361
+ description:
362
+ - The USS file name or data set name that was used as a backup.
363
+ - Matches the I(backup_name) parameter provided as input.
364
+ returned: always
365
+ type: str
366
+ sample: "/u/oeusr03/my_backup.dzp"
367
+ message:
368
+ description:
369
+ - Returns any important messages about the modules execution, if any.
370
+ returned: always
371
+ type: str
372
+ sample: ""
373
+ """
354
374
355
375
import traceback
356
376
from os import path
You can’t perform that action at this time.
0 commit comments