[ansible-project] vmware_guest module network config for Redhat Linux version 9.X

2024-05-28 Thread Karthik
Hi, I am using vmware_guest module to create a Redhat Linux 9.3 VM, so what happens is the VM is launched and is online, but the network configurations files are created under /etc/sysconfig/network-scripts/ which is the usual approach. but if one can take a look at the readme file(provided be

Re: [ansible-project] vmware_guest module with disk extra parameter

2022-04-22 Thread Daniel S.
Hi Uto, Thanks for your feedback, i do it with this way: {%- for disc in server.disk -%} {%- if disc.vgname is defined -%} {%- do disc.pop('vgname') -%} {%- do disc.pop('lvnames') -%} {%- endif -%} {%- endfor -%} all working now. Tha

Re: [ansible-project] vmware_guest module with disk extra parameter

2022-04-19 Thread Todd Lewis
The closest thing I've come up with is, when you pass the "disk:" value in your module invocation, (assuming your variable name is "disk"), do this: |disk: | {%- for disc in disk -%} {{ disc | dict2items | list | rejectattr('key', 'in', ['lvnames', 'vgname']) | list | items2dict }}, {%- endfor

[ansible-project] vmware_guest module with disk extra parameter

2022-04-19 Thread Daniel S.
Hello everyone, i was using ansible 2.10.3, and all was working as well. I've tried to upgrade my project to ansible 4.10.0, but i'm facing this issue. I have the fallowing message: { "msg": "Unsupported parameters for (vmware_guest) module: disk.lvnames, disk.vgname. Supported parameters in

Re: [ansible-project] vmware_guest module Ansible 2.7.4 on latest RHEL 7u6

2018-12-17 Thread Tuyen Nguyen
I was previously using Ansible 2.7.0 and I downgraded it back to 2.7.0 and things are working like they were now. I had another issue where it was not allowing authentication on my account for some reason, and reverting back to 2.7.0 fixed it complete. On Monday, December 17, 2018 at 11:58:

Re: [ansible-project] vmware_guest module Ansible 2.7.4 on latest RHEL 7u6

2018-12-17 Thread Tuyen Nguyen
I see... thanks! let me find 2.7.5 to upgrade to. On Monday, December 17, 2018 at 11:58:23 AM UTC-5, Dick Visser wrote: > > It looks like this issue was introduced after 2.7.2, and fixed in > 2.7.5: https://github.com/ansible/ansible/issues/49487. > You're right in between with 2.7.4. > So eit

Re: [ansible-project] vmware_guest module Ansible 2.7.4 on latest RHEL 7u6

2018-12-17 Thread Dick Visser
It looks like this issue was introduced after 2.7.2, and fixed in 2.7.5: https://github.com/ansible/ansible/issues/49487. You're right in between with 2.7.4. So either downgrade to 2.7.2 or upgrade to 2.7.5. DIck On Mon, 17 Dec 2018 at 14:25, Tuyen Nguyen wrote: > > Hi > > I am getting the foll

[ansible-project] vmware_guest module Ansible 2.7.4 on latest RHEL 7u6

2018-12-17 Thread Tuyen Nguyen
Hi I am getting the following error when I try running a playbook to create a new VM from a template. It worked before I did yum update on the control server. The full traceback is: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1545052613.45-19770221069605/Ansiball

[ansible-project] vmware_guest module and existing custom specifications

2018-04-05 Thread the . prides
Is there a way to use existing custom specifications with the vmware_guest module, and, if so, how? If not, is there another vmware module that can provide this functionality? Thanks! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To uns

[ansible-project] vmware_guest module and loop

2017-11-15 Thread Reza Issany
hello, Forgive me in advance for my bad english. I'm trying to use vmware_guest module with loops to create disks in the created vm. But I don't understand how to do this. The idea is to create a random number of disk. My code: - name: "Creating a VM based on template" vmware_guest: data

[ansible-project] vmware_guest module and template cloning vs vm update weirdness on NIC addition

2017-11-11 Thread Bruno
Hi all, Ansible version used : 2.4.1.0 I am experiencing some strange behaviour using vmware_guest to create a new VM from a template, compared to updating a previously createdVM : I am trying to create a VM from a template (connecting to vCenter 6.0u2, the template being a RHEL 7.3); this tem

[ansible-project] vmware_guest module: Customization of the guest operating system 'centos64Guest' is not supported in this configuration

2017-09-29 Thread DK
Hi, I'm using VMware vCenter Server, 6.0.0, 2776511 I'm trying to use the Ansible vmware_guest module to create a new VM from a CentOS Atomic 7 template. Customization of the guest operating system 'centos64Guest' is not supported in this configuration. Microsoft Vista (TM) and Linux guests wi

[ansible-project] vmware_guest module configure networks with distributed switch / Portgroup

2017-09-05 Thread 'Jörg Mainzer' via Ansible Project
Hello, on creation or reconfiguration of a vmware guest I got an error: fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "Das Objekt oder Element, auf das Bezug genommen wurde, konnte nicht gefunden werden."} when the network is a Portgroup of a vSphere distributed switc

[ansible-project] vmware_guest module hdd resize & networking

2017-06-29 Thread El Duderino
Hi There, This is my first time digging around here and I am not sure if this is a bug or if I am missing somehting. In case this is a bug I would happily open a bug report. I have been using/testing the vmware_guest plugin to create new VM's from template. We have an Vsphere 6.0 environment a

[ansible-project] vmware_guest module

2017-06-21 Thread Martin Schiøtz
Hi I have testet the Ansible vmware_guest module against vCenter and ESXi 6.5 free trail version. Creating new vm guests based on templates works like a charm using vmware_guest module. As I understand vmware_guest uses the pyVmomi API: https://github.com/vmware/pyvmomi My question is which V

[ansible-project] vmware_guest module error: Failed to find a matching datastore

2017-02-06 Thread DSS
Hello, I am testing the vmware_guest module to snapshot a VM but it returns an error message with any invocation of module. According to the documentation (https://docs.ansible.com/ansible/vmware_guest_module.html), i'm using ansible development version (ansible 2.3.0 (devel 86db15b105)) and th

[ansible-project] VMWARE_GUEST Module - An

2017-01-25 Thread max bern
I'm looking for some help with writing an ansible playbook using the VMWARE_ cloud / extras modules. VMWare guest uses pyVmomi over the older pysphere python libraries so hoping this works with vCenter 5.5>6.5~ I'm testing in a python virtulalenv with; * Pyvmomi * Ansible 2.2.1.0 I can get Py