Skip to content

Commit

Permalink
Improving the "ovirt_disk" documentation.
Browse files Browse the repository at this point in the history
On case of multiple disks with the same name, a few extra parameter(s)
need to be provided to identify the correct disk.
1) "vm_name" / "vm_id" if the disk is attached to a VM and there
is no any other disk with the same name attached to the same VM.
2) A disk "id", which is the best possible option.

Signed-off-by: Pavel Bar <[email protected]>
Bug-Url: https://bugzilla.redhat.com/2016638
  • Loading branch information
barpavel committed Jul 11, 2022
1 parent b6bdb42 commit f551f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/ovirt_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
- "Size of the disk. Size should be specified using IEC standard units.
For example 10GiB, 1024MiB, etc."
- "Size can be only increased, not decreased."
- If there are multiple disks with the same name, provide C(vm_name)/C(vm_id) and/or disk C(id) to uniquely identify the intended disk.
type: str
interface:
description:
Expand Down

0 comments on commit f551f5e

Please sign in to comment.