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
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
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.
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/
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_
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--
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
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
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