VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 4 of 4 Results Sample Ansible
  • Adding ESXi in clusters using Ansible

    Contributor mldmld

    This sample is consists of 3 parts - the file with the global variables containing vcenter credentials and the validate cert variable - the file with cluster data. You may add lines for each cluster t ...
    Other Platform Other Language
    Download

    341 Downloads

    0 Comments

    Updated 1 year ago

  • Creation of clusters using Ansible

    Contributor mldmld

    This sample is consists of 3 parts - the file with the global variables containing vcenter credentials and the validate cert variable - the file with cluster data. You may add lines for each cluster t ...
    Other Platform Other Language
    Download

    292 Downloads

    0 Comments

    Updated 1 year ago

  • Adding vSphere licenses to vCenter using Ansible

    Contributor mldmld

    Write all you licenses in a licenses.txt file. One per line Play this ansible playbook on it, you may include the code in my ansible datacenter creation sample This code do not remove license because ...
    Other Platform Other Language
    Download

    220 Downloads

    0 Comments

    Updated 1 year ago

  • Running VMware Orchestrator workflows from an Ansible playbook

    Contributor robertshaw

    Below is a sample of how to send REST API calls to VMware Orchestrator using the Ansible uri_module in a playbook. In this example, vRO input values are provided using an input file "input.json" rathe ...
    vRealize Orchestrator Plug-in SDK vRO Workflow
    Download

    223 Downloads

    0 Comments

    Updated 1 year ago

;