mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-23 06:21:43 -07:00
Update RETURN section in proxmox_backup_schedule module
This commit is contained in:
parent
5a3e20faad
commit
942bb39304
1 changed files with 11 additions and 9 deletions
|
@ -90,15 +90,17 @@ EXAMPLES = """
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
---
|
---
|
||||||
backup_schedule:
|
update_result:
|
||||||
description:
|
description: True if the VM ID was successfully added to the backup job.
|
||||||
- When backup_action is 'update_vmid', the backup_schedule will return True after successfully adding the VM ID to the backup job.
|
returned: when backup_action is 'update_vmid'
|
||||||
- When backup_action is 'delete_vmid', the backup_schedule will return a list of backup job IDs where the VM ID has been removed.
|
type: bool
|
||||||
returned: always, but can be empty
|
sample: true
|
||||||
type: bool | list
|
|
||||||
sample:
|
delete_result:
|
||||||
- True
|
description: A list of backup job IDs where the VM ID has been removed.
|
||||||
- ['backup-job-id1', 'backup-job-id2']
|
returned: when backup_action is 'delete_vmid'
|
||||||
|
type: list
|
||||||
|
sample: ['backup-job-id1', 'backup-job-id2']
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
|
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue