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

  • App Modernization

  • Automation Tools

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 4 of 4 Results Sample Ansible
  • 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

    384 Downloads

    0 Comments

    Updated 2 years ago

  • 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

    474 Downloads

    0 Comments

    Updated 2 years 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

    302 Downloads

    0 Comments

    Updated 2 years 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

    329 Downloads

    0 Comments

    Updated 2 years ago

;