Skip to content

Commit 782a66d

Browse files
committed
Deprecate vmware_host
1 parent 1e0ccb7 commit 782a66d

File tree

5 files changed

+10
-256
lines changed

5 files changed

+10
-256
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
deprecated_features:
2+
- vmware_host - the module has been deprecated and will be removed in community.vmware 7.0.0
3+
(https://github.com/ansible-collections/community.vmware/pull/2337).

meta/runtime.yml

+4
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ plugin_routing:
226226
deprecation:
227227
removal_version: 7.0.0
228228
warning_text: Use vmware.vmware.deploy_content_library_template instead.
229+
vmware_host:
230+
deprecation:
231+
removal_version: 7.0.0
232+
warning_text: Use vmware.vmware.esxi_host and vmware.vmware.esxi_connection instead.
229233
vmware_maintenancemode:
230234
deprecation:
231235
removal_version: 7.0.0

plugins/modules/vmware_host.py

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
DOCUMENTATION = r'''
1515
---
1616
module: vmware_host
17+
deprecated:
18+
why: This module has been moved to the L(new vmware.vmware collection,https://forum.ansible.com/t/5880)
19+
alternative: Use M()vmware.vmware.esxi_host and M(vmware.vmware.esxi_connection) instead.
1720
short_description: Add, remove, or move an ESXi host to, from, or within vCenter
1821
description:
1922
- This module can be used to add, reconnect, or remove an ESXi host to or from vCenter.

tests/integration/targets/vmware_host/aliases

-3
This file was deleted.

tests/integration/targets/vmware_host/tasks/main.yml

-253
This file was deleted.

0 commit comments

Comments
 (0)