yes! That did it. Thank you
---
- name: "change the root password"
hosts: localhost
tasks:
- name: "change root pass"
community.vmware.vmware_local_user_manager:
hostname: "myesxhost"
username: "root"
password: "xx"
local_user_name: "root"
local
I think you need to run this against localhost (i.e. the controlnode)
as this is where you have pyvmomi installed.
The ESXi host name should go as the argument in the task itself.
On Sun, 25 Oct 2020 at 17:51, Tony Wong wrote:
>
> but I have all the pip /pip3 python packages installed already
>
but I have all the pip /pip3 python packages installed already
there isnt anything I can install on a remote esxi host
On Sunday, October 25, 2020 at 7:55:09 AM UTC-7 vinod...@gmail.com wrote:
> You need to have pip module to run in target hosts. You might have
> installed pip package on local
You need to have pip module to run in target hosts. You might have
installed pip package on local host . You can simply run this on localhost
. It will work . Make exsi hosts on loop
//Vinoth
On Sun 25. Oct 2020 at 02:08, Tony Wong wrote:
>
>
> my playbook
>
> ---
> - name: "change the root pas
this is error I get now
The full traceback is:
Traceback (most recent call last):
File
"/tmp/ansible_community.vmware.vmware_local_user_manager_payload_4mdm01xz/ansible_community.vmware.vmware_local_user_manager_payload.zip/ansible_collections/community/vmware/plugins/module_utils/vmware.py",
my playbook
---
- name: "change the root password"
hosts: all
tasks:
- name: "change root pass"
community.vmware.vmware_local_user_manager:
hostname: "{{ inventory_hostname }}"
local_user_name: "{{ esx_local_root_user }}"
local_user_password: "{{ esx_local_root
Need help on this please.
my inventory file
[esx]
esx1
esx2
esx3
--
playbook
---
- name: change root esxi password
community.vmware.vmware_local_user_manager:
hostname: '{{ esx_host }}'
username: root
password: '{{ esx_root_pass }}'
what else do i n