[ovirt] remove 2.8 deprecations (#45506)

pull/35275/merge
Sloane Hertel 6 years ago committed by GitHub
parent 1f8c5905b3
commit c004a639b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -265,9 +265,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_affinity_groups':
module.deprecate("The 'ovirt_affinity_groups' module is being renamed 'ovirt_affinity_group'", version=2.8)
check_sdk(module)
try:
auth = module.params.pop('auth')

@ -181,9 +181,6 @@ def main():
],
)
if module._name == 'ovirt_affinity_labels':
module.deprecate("The 'ovirt_affinity_labels' module is being renamed 'ovirt_affinity_label'", version=2.8)
check_sdk(module)
try:

@ -110,9 +110,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_affinity_labels_facts':
module.deprecate("The 'ovirt_affinity_labels_facts' module is being renamed 'ovirt_affinity_label_facts'", version=2.8)
check_sdk(module)
try:

@ -657,9 +657,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_clusters':
module.deprecate("The 'ovirt_clusters' module is being renamed 'ovirt_cluster'", version=2.8)
check_sdk(module)
try:

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_clusters_facts':
module.deprecate("The 'ovirt_clusters_facts' module is being renamed 'ovirt_cluster_facts'", version=2.8)
check_sdk(module)
try:

@ -201,9 +201,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_datacenters':
module.deprecate("The 'ovirt_datacenters' module is being renamed 'ovirt_datacenter'", version=2.8)
check_sdk(module)
check_params(module)

@ -64,9 +64,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_datacenters_facts':
module.deprecate("The 'ovirt_datacenters_facts' module is being renamed 'ovirt_datacenter_facts'", version=2.8)
check_sdk(module)
try:

@ -584,9 +584,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_disks':
module.deprecate("The 'ovirt_disks' module is being renamed 'ovirt_disk'", version=2.8)
check_sdk(module)
check_params(module)

@ -360,9 +360,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_external_providers':
module.deprecate("The 'ovirt_external_providers' module is being renamed 'ovirt_external_provider'", version=2.8)
check_sdk(module)
check_params(module)

@ -119,9 +119,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_external_providers_facts':
module.deprecate("The 'ovirt_external_providers_facts' module is being renamed 'ovirt_external_provider_facts'", version=2.8)
check_sdk(module)
try:

@ -155,9 +155,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_groups':
module.deprecate("The 'ovirt_groups' module is being renamed 'ovirt_group'", version=2.8)
check_sdk(module)
check_params(module)

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_groups_facts':
module.deprecate("The 'ovirt_groups_facts' module is being renamed 'ovirt_group_facts'", version=2.8)
check_sdk(module)
try:

@ -440,9 +440,6 @@ def main():
]
)
if module._name == 'ovirt_hosts':
module.deprecate("The 'ovirt_hosts' module is being renamed 'ovirt_host'", version=2.8)
check_sdk(module)
try:

@ -74,9 +74,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_hosts_facts':
module.deprecate("The 'ovirt_hosts_facts' module is being renamed 'ovirt_host_facts'", version=2.8)
check_sdk(module)
try:

@ -334,9 +334,6 @@ def main():
)
module = AnsibleModule(argument_spec=argument_spec)
if module._name == 'ovirt_host_networks':
module.deprecate("The 'ovirt_host_networks' module is being renamed 'ovirt_host_network'", version=2.8)
check_sdk(module)
try:

@ -152,9 +152,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_mac_pools':
module.deprecate("The 'ovirt_mac_pools' module is being renamed 'ovirt_mac_pool'", version=2.8)
check_sdk(module)
try:

@ -253,9 +253,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_networks':
module.deprecate("The 'ovirt_networks' module is being renamed 'ovirt_network'", version=2.8)
check_sdk(module)
check_params(module)

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_networks_facts':
module.deprecate("The 'ovirt_networks_facts' module is being renamed 'ovirt_network_facts'", version=2.8)
check_sdk(module)
try:

@ -201,9 +201,6 @@ def main():
required_one_of=[['vm', 'template']],
)
if module._name == 'ovirt_nics':
module.deprecate("The 'ovirt_nics' module is being renamed 'ovirt_nic'", version=2.8)
check_sdk(module)
try:

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_nics_facts':
module.deprecate("The 'ovirt_nics_facts' module is being renamed 'ovirt_nic_facts'", version=2.8)
check_sdk(module)
try:

@ -274,9 +274,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_permissions':
module.deprecate("The 'ovirt_permissions' module is being renamed 'ovirt_permission'", version=2.8)
check_sdk(module)
if (module.params['object_name'] is None and module.params['object_id'] is None) and module.params['object_type'] != 'system':

@ -123,9 +123,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_permissions_facts':
module.deprecate("The 'ovirt_permissions_facts' module is being renamed 'ovirt_permission_facts'", version=2.8)
check_sdk(module)
try:

@ -244,9 +244,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_quotas':
module.deprecate("The 'ovirt_quotas' module is being renamed 'ovirt_quota'", version=2.8)
check_sdk(module)
try:

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_quotas_facts':
module.deprecate("The 'ovirt_quotas_facts' module is being renamed 'ovirt_quota_facts'", version=2.8)
check_sdk(module)
try:

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_scheduling_policie_facts':
module.deprecate("The 'ovirt_scheduling_policie_facts' module is being renamed 'ovirt_scheduling_policy_facts'", version=2.8)
check_sdk(module)
try:

@ -246,9 +246,6 @@ def main():
]
)
if module._name == 'ovirt_snapshots':
module.deprecate("The 'ovirt_snapshots' module is being renamed 'ovirt_snapshot'", version=2.8)
check_sdk(module)
vm_name = module.params.get('vm_name')

@ -77,9 +77,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_snapshots_facts':
module.deprecate("The 'ovirt_snapshots_facts' module is being renamed 'ovirt_snapshot_facts'", version=2.8)
check_sdk(module)
try:

@ -232,9 +232,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_storage_connections':
module.deprecate("The 'ovirt_storage_connections' module is being renamed 'ovirt_storage_connection'", version=2.8)
check_sdk(module)
try:

@ -626,9 +626,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_storage_domains':
module.deprecate("The 'ovirt_storage_domains' module is being renamed 'ovirt_storage_domain'", version=2.8)
check_sdk(module)
try:

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_domains_facts':
module.deprecate("The 'ovirt_storage_domains_facts' module is being renamed 'ovirt_storage_domain_facts'", version=2.8)
check_sdk(module)
try:

@ -91,9 +91,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_templates_facts':
module.deprecate("The 'ovirt_storage_templates_facts' module is being renamed 'ovirt_storage_template_facts'", version=2.8)
check_sdk(module)
try:

@ -91,9 +91,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_vms_facts':
module.deprecate("The 'ovirt_storage_vms_facts' module is being renamed 'ovirt_storage_vm_facts'", version=2.8)
check_sdk(module)
try:

@ -228,9 +228,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_tags':
module.deprecate("The 'ovirt_tags' module is being renamed 'ovirt_tag'", version=2.8)
check_sdk(module)
try:

@ -100,9 +100,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_tags_facts':
module.deprecate("The 'ovirt_tags_facts' module is being renamed 'ovirt_tag_facts'", version=2.8)
check_sdk(module)
try:

@ -474,9 +474,6 @@ def main():
required_one_of=[['id', 'name']],
)
if module._name == 'ovirt_templates':
module.deprecate("The 'ovirt_templates' module is being renamed 'ovirt_template'", version=2.8)
check_sdk(module)
try:

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_templates_facts':
module.deprecate("The 'ovirt_templates_facts' module is being renamed 'ovirt_template_facts'", version=2.8)
check_sdk(module)
try:

@ -138,9 +138,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_users':
module.deprecate("The 'ovirt_users' module is being renamed 'ovirt_user'", version=2.8)
check_sdk(module)
check_params(module)

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_users_facts':
module.deprecate("The 'ovirt_users_facts' module is being renamed 'ovirt_user_facts'", version=2.8)
check_sdk(module)
try:

@ -1986,9 +1986,6 @@ def main():
required_one_of=[['id', 'name']],
)
if module._name == 'ovirt_vms':
module.deprecate("The 'ovirt_vms' module is being renamed 'ovirt_vm'", version=2.8)
check_sdk(module)
check_params(module)

@ -97,9 +97,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_vms_facts':
module.deprecate("The 'ovirt_vms_facts' module is being renamed 'ovirt_vm_facts'", version=2.8)
check_sdk(module)
try:

@ -197,9 +197,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_vmpools':
module.deprecate("The 'ovirt_vmpools' module is being renamed 'ovirt_vmpool'", version=2.8)
check_sdk(module)
check_params(module)

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_vmpools_facts':
module.deprecate("The 'ovirt_vmpools_facts' module is being renamed 'ovirt_vmpool_facts'", version=2.8)
check_sdk(module)
try:

Loading…
Cancel
Save