Become a Part of the VMware {code} Community

 

VMware {code} is a free developer program that provides access to a growing community of developers and experts. If you are an existing Developer Center user or partner program member, you can join the new VMware {code} program using your MyVMware account. If you do not have one, register below to access SDKs and participate in developer forums.

Join VMware {code} with More Than 9164 Developers and VMware Experts

VMware {code} has the fastest-growing developer community devoted to virtualization, cloud computing, DevOps, and other topics.

When you join VMware {code}, you will have the opportunity to connect with VMware experts in the community and participate in outreach programs such as the VMware {code} Speaker Bureau.

Who's On Slack Right Now

For complete message and to post reply visit https://vmwarecode.slack.com/messages/general
2019-07-20
magneet_nl  2019-07-20 13:27:55 CDT
Renamed to a j2 file to fill it from the variables I believe. Just started there and I am an Ansible n00b
 
magneet_nl  2019-07-20 13:25:51 CDT
That's what they do, use the default templates and fill in the details
 
stvkpln  2019-07-20 13:20:00 CDT
I wouldn’t necessarily dynamically generate the json; I’d grab the appropriate template and fill in the details. The lack of consistent between releases makes it less than ideal, but it’s workable.
 
fdo  2019-07-20 13:06:51 CDT
Currently I am building everything from scratch behind Flask framework.. only reason I am doing this is because it gives me a simple UI plus Rest API to feed the parameters... Still trying to figure how out kick off long running jobs and monitor job status..
 
fdo  2019-07-20 13:02:40 CDT
Thanks Mag.. I thought Ansible could be the popular method.. Dynamically generating the Json might be lil more work... I will dig a bit further see what other ppl are using...
 
magneet_nl  2019-07-20 09:08:40 CDT
not 100% sure though, they might have changed to use the ansible role for it
 
magneet_nl  2019-07-20 09:02:13 CDT
My customer is doing it using ansible but that's essentially just calling the default Linux method I believe. The json just gets filled with variables from ansible
 
fng  2019-07-20 08:54:30 CDT
Hi all,, Seeking advice..I am trying to develop a script/tool to deploy vCenter 6.5/6.7. Tested all different method: vcsa-deploy.exe, Powercli import-vApp (Williams Lams nested lab deployment script), OVFTool, etc. They all get the job done when manually executed. This vCenter Deployment script will be one of the task what will be executed remotely from another tool. Will need to be able to check on the status, success, failure. Ideally want this to run off a Linux VM, open to any ideas. What I have: a Python script to launch the vcsa-deploy and the PowerShell Script from WilliamLam.. Issue:: They both work when executed manually.. when is part of another process.. I haven't been able to track the status. I have access to Jenkin and Ansible, they are great but got their pros and cons. Just need to see what are other doing out there before investing all my time on this.
 
fdo  2019-07-20 08:25:58 CDT
Thanks ruddy we figured out... one of the AD server was replaced and and misconfigured. It was also configured as primary identity source in vcenter. Which explain why auth will happen against primary, 60sec later it will try the secondary...
 
kubramehnaz.mi  2019-07-20 00:00:35 CDT
@kubramehnaz.mi has joined the channel
 

DO MORE WITH MY VMWARE

Ready to dig deeper? In addition to our Slack team, you can register for a My VMware account to download the latest SDKs, get recognition for your code samples, and participate in our online community forums.

Download SDKs

Download the Latest VMware SDKs

Your account gives you access to the latest SDKs for vSphere, Horizon, WorkspaceONE, and other VMware technology platforms.

Forum

Participate in Developer Forums

Share knowledge and interests in the VMware Communities forums with more than 2 million virtualization experts and community members across the globe.

Code

Get Credit for Your Code Samples

Contribute your code samples to VMware Sample Exchange to earn points and get recognition, or request a code sample from the community.

OTHER WAYS TO CONNECT WITH VMWARE {CODE}

Newsletter

Subscribe to the VMware {code} newsletter for access to the latest hands-on labs, blogs, podcasts, how-to videos, and other content delivered directly to your inbox.

VMware {code} Newsletter »

Twitter

Follow VMware {code} on Twitter to get the real-time news and updates from VMware and the community.

Follow @vmwarecode »

GitHub

Explore and contribute to open-source projects such as VMware Integrated OpenStack and the Photon Platform.

VMware on Github »