Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Deprecate vmware_host_inventory #2279

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/extra-docs-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install dependent collections
run: >
ansible-galaxy collection install
'vmware.vmware>=1.7.1'
'vmware.vmware>=1.8.0'

- name: Run collection docs linter
run: antsibull-docs lint-collection-docs . --plugin-docs --skip-rstcheck
3 changes: 3 additions & 0 deletions changelogs/fragments/2279-deprecate-vmware_host_inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deprecated_features:
- vmware_host_inventory - the inventory plugin is deprecated and will be removed in community.vmware 7.0.0
(https://github.com/ansible-collections/community.vmware/pull/2279).
5 changes: 5 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ action_groups:
- vsphere_file

plugin_routing:
inventory:
vmware_host_inventory:
deprecation:
removal_version: 7.0.0
warning_text: Use vmware.vmware.esxi_hosts instead.
modules:
vmware_cluster:
deprecation:
Expand Down
4 changes: 4 additions & 0 deletions plugins/inventory/vmware_host_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

DOCUMENTATION = r"""
name: vmware_host_inventory
deprecated:
removed_in: 7.0.0
why: This module has been moved to the L(new vmware.vmware collection,https://forum.ansible.com/t/5880)
alternative: Use P(vmware.vmware.esxi_hosts#inventory) instead.
short_description: VMware ESXi hostsystem inventory source
author:
- Abhijeet Kasurde (@Akasurde)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading