mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (#353)
* Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (regular 4 version deprecation cycle). * Update sanity-2.10.txt * Vendor dependencies from ovirt.ovirt as deprecated, and remove dependency on ovirt.ovirt. * Use ovirt_facts doc_fragment, and don't add _ovirt_info doc_fragment.
This commit is contained in:
parent
dee1e71796
commit
a0a534508a
30 changed files with 1050 additions and 129 deletions
|
@ -13,9 +13,9 @@ author:
|
|||
- Vincent Van der Kussen (@vincentvdk)
|
||||
short_description: oVirt/RHEV platform management
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: This module is for deprecated version of ovirt.
|
||||
alternative: Use M(ovirt_vm) instead
|
||||
alternative: Use C(ovirt_vm) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- This module only supports oVirt/RHEV version 3. A newer module M(ovirt_vm) supports oVirt/RHV version 4.
|
||||
- Allows you to create new instances, either from scratch or an image, in addition to deleting or stopping instances on the oVirt/RHEV platform.
|
||||
|
@ -468,4 +468,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_affinity_label_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV affinity labels
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_affinity_label_info) instead
|
||||
alternative: Use C(ovirt_affinity_label_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV affinity labels."
|
||||
- This module was called C(ovirt_affinity_label_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -50,7 +50,7 @@ options:
|
|||
description:
|
||||
- "Name of the host, which affinity labels should be listed."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -115,7 +115,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -194,4 +194,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -13,9 +13,9 @@ module: ovirt_api_facts
|
|||
short_description: Retrieve information about the oVirt/RHV API
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_api_info) instead
|
||||
alternative: Use C(ovirt_api_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about the oVirt/RHV API."
|
||||
- This module was called C(ovirt_api_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -25,7 +25,7 @@ notes:
|
|||
which contains a information about oVirt/RHV API. You need to register the result with
|
||||
the I(register) keyword to use it."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -56,7 +56,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -96,4 +96,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_cluster_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV clusters
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_cluster_info) instead
|
||||
alternative: Use C(ovirt_cluster_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV clusters."
|
||||
- This module was called C(ovirt_cluster_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -46,7 +46,7 @@ options:
|
|||
- "For example to search cluster X from datacenter Y use following pattern:
|
||||
name=X and datacenter=Y"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -77,7 +77,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -123,4 +123,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -13,9 +13,9 @@ module: ovirt_datacenter_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV datacenters
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_datacenter_info) instead
|
||||
alternative: Use C(ovirt_datacenter_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV datacenters."
|
||||
- This module was called C(ovirt_datacenter_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -30,7 +30,7 @@ options:
|
|||
- "Search term which is accepted by oVirt/RHV search backend."
|
||||
- "For example to search datacenter I(X) use following pattern: I(name=X)"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -60,7 +60,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -106,4 +106,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_disk_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV disks
|
||||
author: "Katerina Koukiou (@KKoukiou)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_disk_info) instead
|
||||
alternative: Use C(ovirt_disk_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV disks."
|
||||
- This module was called C(ovirt_disk_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -46,7 +46,7 @@ options:
|
|||
- "For example to search Disk X from storage Y use following pattern:
|
||||
name=X and storage.name=Y"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -76,7 +76,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -123,4 +123,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -12,9 +12,9 @@ module: ovirt_event_facts
|
|||
short_description: This module can be used to retrieve information about one or more oVirt/RHV events
|
||||
author: "Chris Keller (@nasx)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_event_info) instead
|
||||
alternative: Use C(ovirt_event_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV events."
|
||||
- This module was called C(ovirt_event_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -69,7 +69,7 @@ options:
|
|||
default: true
|
||||
type: bool
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -107,7 +107,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -168,4 +168,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_external_provider_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV external providers
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_external_provider_info) instead
|
||||
alternative: Use C(ovirt_external_provider_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV external providers."
|
||||
- This module was called C(ovirt_external_provider_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -49,7 +49,7 @@ options:
|
|||
description:
|
||||
- "Name of the external provider, can be used as glob expression."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -89,7 +89,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -164,4 +164,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_group_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV groups
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_group_info) instead
|
||||
alternative: Use C(ovirt_group_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV groups."
|
||||
- This module was called C(ovirt_group_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -45,7 +45,7 @@ options:
|
|||
- "Search term which is accepted by oVirt/RHV search backend."
|
||||
- "For example to search group X use following pattern: name=X"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -75,7 +75,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -121,4 +121,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -13,9 +13,9 @@ module: ovirt_host_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV hosts
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_host_info) instead
|
||||
alternative: Use C(ovirt_host_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV hosts."
|
||||
- This module was called C(ovirt_host_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -42,7 +42,7 @@ options:
|
|||
type: str
|
||||
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -82,7 +82,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -147,4 +147,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -13,9 +13,9 @@ module: ovirt_host_storage_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV HostStorages (applicable only for block storage)
|
||||
author: "Daniel Erez (@derez)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_host_storage_info) instead
|
||||
alternative: Use C(ovirt_host_storage_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV HostStorages (applicable only for block storage)."
|
||||
- This module was called C(ovirt_host_storage_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -58,7 +58,7 @@ options:
|
|||
description:
|
||||
- "LUN id."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -96,7 +96,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -185,4 +185,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_network_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV networks
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_network_info) instead
|
||||
alternative: Use C(ovirt_network_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV networks."
|
||||
- This module was called C(ovirt_network_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -45,7 +45,7 @@ options:
|
|||
- "Search term which is accepted by oVirt/RHV search backend."
|
||||
- "For example to search network starting with string vlan1 use: name=vlan1*"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -77,7 +77,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -123,4 +123,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_nic_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV virtual machine network interfaces
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_nic_info) instead
|
||||
alternative: Use C(ovirt_nic_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV virtual machine network interfaces."
|
||||
- This module was called C(ovirt_nic_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -48,7 +48,7 @@ options:
|
|||
description:
|
||||
- "Name of the NIC, can be used as glob expression."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -80,7 +80,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -141,4 +141,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_permission_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV permissions
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_permission_info) instead
|
||||
alternative: Use C(ovirt_permission_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV permissions."
|
||||
- This module was called C(ovirt_permission_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -56,7 +56,7 @@ options:
|
|||
- "Namespace of the authorization provider, where user/group resides."
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -92,7 +92,7 @@ except ImportError:
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_link_name,
|
||||
|
@ -164,4 +164,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_quota_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV quotas
|
||||
author: "Maor Lipchuk (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_quota_info) instead
|
||||
alternative: Use C(ovirt_quota_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV quotas."
|
||||
- This module was called C(ovirt_quota_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -48,7 +48,7 @@ options:
|
|||
description:
|
||||
- "Name of the quota, can be used as glob expression."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -80,7 +80,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -141,4 +141,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_scheduling_policy_facts
|
|||
short_description: Retrieve information about one or more oVirt scheduling policies
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_scheduling_policy_info) instead
|
||||
alternative: Use C(ovirt_scheduling_policy_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt scheduling policies."
|
||||
- This module was called C(ovirt_scheduling_policy_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -48,7 +48,7 @@ options:
|
|||
description:
|
||||
- "Name of the scheduling policy, can be used as glob expression."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -81,7 +81,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -140,4 +140,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -13,9 +13,9 @@ module: ovirt_snapshot_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV virtual machine snapshots
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_snapshot_info) instead
|
||||
alternative: Use C(ovirt_snapshot_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV virtual machine snapshots."
|
||||
- This module was called C(ovirt_snapshot_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -36,7 +36,7 @@ options:
|
|||
description:
|
||||
- "Id of the snapshot we want to retrieve information about."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -69,7 +69,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -135,4 +135,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_storage_domain_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV storage domains
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_storage_domain_info) instead
|
||||
alternative: Use C(ovirt_storage_domain_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV storage domains."
|
||||
- This module was called C(ovirt_storage_domain_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -46,7 +46,7 @@ options:
|
|||
- "For example to search storage domain X from datacenter Y use following pattern:
|
||||
name=X and datacenter=Y"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -78,7 +78,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -124,4 +124,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_storage_template_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV templates relate to a storage domain.
|
||||
author: "Maor Lipchuk (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_storage_template_info) instead
|
||||
alternative: Use C(ovirt_storage_template_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV templates relate to a storage domain."
|
||||
- This module was called C(ovirt_storage_template_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -53,7 +53,7 @@ options:
|
|||
description:
|
||||
- "The storage domain name where the templates should be listed."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -83,7 +83,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -140,4 +140,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_storage_vm_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV virtual machines relate to a storage domain.
|
||||
author: "Maor Lipchuk (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_storage_vm_info) instead
|
||||
alternative: Use C(ovirt_storage_vm_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV virtual machines relate to a storage domain."
|
||||
- This module was called C(ovirt_storage_vm_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -53,7 +53,7 @@ options:
|
|||
description:
|
||||
- "The storage domain name where the virtual machines should be listed."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -83,7 +83,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -140,4 +140,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_tag_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV tags
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_tag_info) instead
|
||||
alternative: Use C(ovirt_tag_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV tags."
|
||||
- This module was called C(ovirt_tag_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -50,7 +50,7 @@ options:
|
|||
description:
|
||||
- "Name of the host, which tags should be listed."
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -99,7 +99,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -174,4 +174,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_template_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV templates
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_template_info) instead
|
||||
alternative: Use C(ovirt_template_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV templates."
|
||||
- This module was called C(ovirt_template_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -46,7 +46,7 @@ options:
|
|||
- "For example to search template X from datacenter Y use following pattern:
|
||||
name=X and datacenter=Y"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -76,7 +76,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -122,4 +122,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_user_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV users
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_user_info) instead
|
||||
alternative: Use C(ovirt_user_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV users."
|
||||
- This module was called C(ovirt_user_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -45,7 +45,7 @@ options:
|
|||
- "Search term which is accepted by oVirt/RHV search backend."
|
||||
- "For example to search user X use following pattern: name=X"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -75,7 +75,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -121,4 +121,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_vm_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV virtual machines
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_vm_info) instead
|
||||
alternative: Use C(ovirt_vm_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV virtual machines."
|
||||
- This module was called C(ovirt_vm_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -65,7 +65,7 @@ options:
|
|||
effect when the virtual machine is restarted. By default the value is set by engine."
|
||||
type: bool
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -105,7 +105,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -163,4 +163,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
|
@ -28,9 +28,9 @@ module: ovirt_vmpool_facts
|
|||
short_description: Retrieve information about one or more oVirt/RHV vmpools
|
||||
author: "Ondra Machacek (@machacekondra)"
|
||||
deprecated:
|
||||
removed_in: "2.10"
|
||||
removed_in: "2.14"
|
||||
why: When migrating to collection we decided to use only _info modules.
|
||||
alternative: Use M(ovirt_vmpool_info) instead
|
||||
alternative: Use C(ovirt_vmpool_info) from the C(ovirt.ovirt) collection instead
|
||||
description:
|
||||
- "Retrieve information about one or more oVirt/RHV vmpools."
|
||||
- This module was called C(ovirt_vmpool_facts) before Ansible 2.9, returning C(ansible_facts).
|
||||
|
@ -45,7 +45,7 @@ options:
|
|||
- "Search term which is accepted by oVirt/RHV search backend."
|
||||
- "For example to search vmpool X: name=X"
|
||||
extends_documentation_fragment:
|
||||
- ovirt.ovirt.ovirt_info
|
||||
- community.general.ovirt_facts
|
||||
|
||||
'''
|
||||
|
||||
|
@ -75,7 +75,7 @@ import traceback
|
|||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ovirt.ovirt.plugins.module_utils.ovirt import (
|
||||
from ansible_collections.community.general.plugins.module_utils._ovirt import (
|
||||
check_sdk,
|
||||
create_connection,
|
||||
get_dict_of_struct,
|
||||
|
@ -121,4 +121,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module("2.10")
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue