Tony_Wong
(Tony Wong)
December 9, 2021, 2:41am
1
I am trying to change advanced settings for standalone esxi host
is the possible without vcenter?
I looked at
name: Manage multiple settings for an ESXi host community.vmware.vmware_host_config_manager: hostname: ‘{{ vcenter_hostname }}’ username: ‘{{ vcenter_username }}’ password: ‘{{ vcenter_password }}’ esxi_hostname: ‘{{ esxi_hostname }}’ options: ‘Config.HostAgent.log.level’: ‘verbose’ ‘Annotations.WelcomeMessage’: ‘Hello World’ ‘Config.HostAgent.plugins.solo.enableMob’: false delegate_to: localhost
but it looks like it needs vcenter
What makes it look like that?
For what I understand, vCenter includes the API server, so it’s required.
vmware modules uses pyvmomi underneath and this tools connects to the API.
Regards.
Tony_Wong
(Tony Wong)
December 10, 2021, 3:47pm
4
Hi,
I need to make a few advance settings changes before adding them to vcenter. so I canst do this with ansible on standalone esxi?
I’m not sure. Maybe you can access through SSH and do changes using console commands. I’m not sure if VMWare host appliances allows to connect that way. Ansible will require not only SSH but python also.