Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-09 Thread esxi...@gmail.com
Thanks, for now i will keep on hold on this very interesting problem as i have work-around with centos 7 On Monday, March 8, 2021 at 1:05:38 AM UTC-8 dick@geant.org wrote: > On Mon, 8 Mar 2021 at 09:34, esxi...@gmail.com wrote: > > > > None o/p from Ubuntu20x box .. > > What do you mean no

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-08 Thread Dick Visser
On Mon, 8 Mar 2021 at 09:34, esxi...@gmail.com wrote: > > None o/p from Ubuntu20x box .. What do you mean no output? Why is there no output? > > > > FYI same template... same vcenter .. same everything .. > > > 2.9.6 is ansible which comes with OS > > on other node i did pip3 so version is 2.10

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-08 Thread esxi...@gmail.com
None o/p from Ubuntu20x box .. FYI same template... same vcenter .. same everything .. 2.9.6 is ansible which comes with OS on other node i did pip3 so version is 2.10 .. ### ansible-playbook /etc/ansible/playbooks/vm-provision/vm-create-paramater.

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-08 Thread esxi...@gmail.com
Thanks will share momentarily On Sunday, March 7, 2021 at 11:04:09 PM UTC-8 dick@geant.org wrote: > And a similar output of a successful attempt on your other control node? > > On Mon, 8 Mar 2021 at 07:29, esxi...@gmail.com wrote: > >> Here is the output >> >> >> ansible-playbook >> /etc/

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-07 Thread Dick Visser
And a similar output of a successful attempt on your other control node? On Mon, 8 Mar 2021 at 07:29, esxi...@gmail.com wrote: > Here is the output > > > ansible-playbook > /etc/ansible/playbooks/vm-provision/vm-create-paramater.yml -f 5 > --extra-vars "vm_name=vm-name-XXX vm_ip=IP vcenter_

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-07 Thread esxi...@gmail.com
Here is the output ansible-playbook /etc/ansible/playbooks/vm-provision/vm-create-paramater.yml -f 5 --extra-vars "vm_name=vm-name-XXX vm_ip=IP vcenter_name=DC-vc01.DOMAIN vcenter_folder=DC-C-Infra vcenter_rp=DC-Prod vcenter_dc=DC vcenter_cluster=DC-C-Cluster01 vcenter_template=DC--

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-07 Thread esxi...@gmail.com
Well- /etc/ansible/playbooks/vm-provision/vars/var.yml in my case only has credentials All variables are passed with -e So i do not think the issue is with vars in this case ansible-playbook /etc/ansible/playbooks/vm-provision/vm-create-paramater.yml --extra-vars "vm_name=xxx xxx xx

Re: [ansible-project] vmware_guest - VM is created but the name "none"

2021-03-07 Thread Dick Visser
The Linux distro on the control node is largely irrelevant. It's the way you define the variables that is the problem. Add a debug task and check what does variables really are. What is in that vars file? Typo? Etc etc On Mon, 8 Mar 2021 at 04:57, esxi...@gmail.com wrote: > Hi folks > > When i u

[ansible-project] vmware_guest - VM is created but the name "none"

2021-03-07 Thread esxi...@gmail.com
Hi folks When i use below on a Ubuntu 20.04 ansible control node , vm is created but the OS name shows "none" Same playbook i am running on a CentOS7 ansible control node the then the vm name is not none but correct one Any suggestions on this Please ? cat vm-create-paramater.yml --- - hosts