Update the RETURN description of proxmox_backup_schedule.py

This commit is contained in:
raoufnezhad 2025-02-05 08:33:57 +03:30 committed by GitHub
parent dbc9b41e7d
commit ef96ba85ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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