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

  • 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 - 6 of 6 Results Sample Ansible
  • Cockroach DB

    Contributor Charles Lee

    Terraform and Ansible code to deploy and configure CockroachDB on vSphere 7.0 or above. Cockroach DB Terraform and Ansible projects to set up Cockroach DB environment and monitoring tools. Prerequis ...
    vSphere Other Language
    Download

    73 Downloads

    1 Favorite

    0 Comments

    Updated 7 months ago

  • Adding ESXi in clusters using Ansible

    Contributor MARC-LAURENT DELARUELLE

    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

    639 Downloads

    0 Comments

    Updated 3 years ago

  • Creation of clusters using Ansible

    Contributor MARC-LAURENT DELARUELLE

    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

    510 Downloads

    0 Comments

    Updated 3 years ago

  • Adding vSphere licenses to vCenter using Ansible

    Contributor MARC-LAURENT DELARUELLE

    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

    412 Downloads

    0 Comments

    Updated 3 years ago

  • vmware-cve

    Contributor Saddam ZEMMALI

    Ansible Automate Workaround for OpenSLP security vulnerability in ESXi 6.7
    vSphere Other Language
    Download

    54 Downloads

    0 Comments

    Updated 7 months ago

  • Running VMware Orchestrator workflows from an Ansible playbook

    Contributor Robert Shaw

    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

    494 Downloads

    0 Comments

    Updated 3 years ago