mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
81caa837a4
The ansible action ovirt_storage_domains obligates a data center name of the attached storage domain as part of its action's arguments, so it will get the attached_sd_service as part of the functionality of changing the storage domain status (to maintenance for example). On the other hand, ovirt_storage_domains_facts retrieves a storage domain entity with information about the data center which the storage domain is attached to as a UUID identifier (without name). So for the user to use that storage domain, fetched from the facts module, one will have to fetch the DC entity to get the name. We could use the search which is used today using: service.list(search=...) but that type of search does not support search by Guid. Therefor this patch provides the ability to use ovirt_storage_domains action with state change using also a DC UUID instead of a DC name. |
||
---|---|---|
.. | ||
ansible |