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

vmware_tag: Modify the category_id parameter to be required for all state #790

Merged
merged 6 commits into from
Apr 14, 2021

Conversation

sky-joker
Copy link
Collaborator

@sky-joker sky-joker commented Apr 12, 2021

SUMMARY

According to the module documentation, it is written that the category_id parameter isn't required.
But actually, the module didn't work correctly as for all state(present and absent) that hasn't the parameter.
The category_id also is necessary when removing a tag because it uses in checking a tag status.
This PR will change the parameter to required.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

changelogs/fragments/790-vmware_tag.yml
docs/community.vmware.vmware_tag_module.rst
plugins/modules/vmware_tag.py
tests/integration/targets/vmware_guest_storage_policy/tasks/main.yml
tests/integration/targets/vmware_tag/tasks/tag_crud_ops.yml
tests/integration/targets/vmware_tag/tasks/tag_manager_duplicate_tag_cat.yml
tests/integration/targets/vmware_vm_storage_policy/tasks/main.yml

ADDITIONAL INFORMATION

tested on vCenter 7.0

@ansibullbot
Copy link

@ansibullbot ansibullbot added cloud community_review docs module module needs_triage Needs a first human triage before being processed. plugins plugin (any type) labels Apr 12, 2021
@ansibullbot ansibullbot added integration tests/integration tests tests labels Apr 12, 2021
@ansibullbot
Copy link

@ansibullbot
Copy link

@Akasurde Akasurde removed the needs_triage Needs a first human triage before being processed. label Apr 14, 2021
@Akasurde Akasurde added this to the v1.10.0 milestone Apr 14, 2021
@Akasurde Akasurde added the gate label Apr 14, 2021
@ansible-zuul ansible-zuul bot merged commit 94d650c into ansible-collections:main Apr 14, 2021
@sky-joker sky-joker deleted the tweak_vmware_tag branch April 14, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants