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

docs(vmware_object_role_permission): Clarify vCenter compatibility #1705

Merged
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
12 changes: 6 additions & 6 deletions plugins/modules/vmware_object_role_permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
DOCUMENTATION = r'''
---
module: vmware_object_role_permission
short_description: Manage local roles on an ESXi host
description: This module can be used to manage object permissions on the given host.
short_description: Manage local roles on an ESXi host or vCenter
description: This module can be used to manage object permissions on the given host or vCenter.
author:
- Derek Rushing (@kryptsi)
- Joseph Andreatta (@vmwjoseph)
notes:
- The ESXi login user must have the appropriate rights to administer permissions.
- The login user must have the appropriate rights to administer permissions.
- Permissions for a distributed switch must be defined and managed on either the datacenter or a folder containing the switch.
options:
role:
Expand Down Expand Up @@ -86,9 +86,9 @@

- name: Remove user from VM folder
community.vmware.vmware_object_role_permission:
hostname: '{{ esxi_hostname }}'
username: '{{ esxi_username }}'
password: '{{ esxi_password }}'
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
role: Admin
principal: user_bob
object_name: services
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vmware_object_role_permission_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
author:
- Abhijeet Kasurde (@Akasurde)
notes:
- The ESXi login user must have the appropriate rights to administer permissions.
- The ESXi or vCenter login user must have the appropriate rights to administer permissions.
- Supports check mode.
options:
principal:
Expand Down