community.vmware.vmware_local_user_info – Gather info about users on the given ESXi host¶
Note
This plugin is part of the community.vmware collection (version 1.7.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_local_user_info
.
Synopsis¶
This module can be used to gather information about users present on the given ESXi host system in VMware infrastructure.
All variables and VMware object names are case sensitive.
User must hold the ‘Authorization.ModifyPermissions’ privilege to invoke this module.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
PyVmomi
Parameters¶
Examples¶
- name: Gather info about all Users on given ESXi host system
community.vmware.vmware_local_user_info:
hostname: '{{ esxi_hostname }}'
username: '{{ esxi_username }}'
password: '{{ esxi_password }}'
delegate_to: localhost
register: all_user_info
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Abhijeet Kasurde (@Akasurde)
Christian Kotte (@ckotte)