change advanced settings for standalone esxi hosts

46 views
Skip to first unread message

Tony Wong

unread,
Dec 8, 2021, 9:41:47 PM12/8/21
to Ansible Project
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

Dick Visser

unread,
Dec 9, 2021, 12:33:14 AM12/9/21
to ansible...@googlegroups.com
What makes it look like that?

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/df800365-0482-4260-af34-44c97d3ee236n%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

Roberto Paz

unread,
Dec 10, 2021, 9:27:59 AM12/10/21
to Ansible Project
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

unread,
Dec 10, 2021, 10:48:24 AM12/10/21
to ansible...@googlegroups.com
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?

You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/uTt7F8HcKjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/dde80d70-439a-48d6-a978-ed378e9e0cd3n%40googlegroups.com.

Roberto Paz

unread,
Dec 10, 2021, 11:27:54 AM12/10/21
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages