mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07:00
Update the RETURN description of proxmox_backup_schedule.py
This commit is contained in:
parent
dbc9b41e7d
commit
ef96ba85ef
1 changed files with 7 additions and 11 deletions
|
@ -90,17 +90,13 @@ EXAMPLES = """
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
---
|
---
|
||||||
update_result:
|
backup_schedule:
|
||||||
description: True if the VM ID was successfully added to the backup job.
|
description:
|
||||||
returned: when backup_action is 'update_vmid'
|
- If V(update_vmid), the backup_schedule will return True after adding the VM ID to the backup job.
|
||||||
type: bool
|
- If V(delete_vmid), the backup_schedule will return a list of backup job IDs where the VM ID has existed after removing it.
|
||||||
sample: true
|
returned: always, but can be empty
|
||||||
|
type: any
|
||||||
delete_result:
|
sample: "true or ['backup-job-id1', 'backup-job-id2']"
|
||||||
description: A list of backup job IDs where the VM ID has been removed.
|
|
||||||
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