Skip to content

This repository contains a role for create, delete or to manage a Virtual Machine (VM) using VMware vSphere vCenter

Notifications You must be signed in to change notification settings

rafael-gumiero/ansible-vmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stone Payments - Ansible VMware

This repository contains a role for create, delete or to manage a Virtual Machine (VM) using VMware vSphere vCenter

Prerequisites

  • PyVmoni is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.

Install PyVmoni

The official release is available using epel, just run yum install python2-pyvmomi

Role Variables

Look the file defaults/main.yml

Example Playbook

---
- hosts: localhost
  gather_facts: false
  vars_prompt:
    - name: "vmware_vcenter_username"
      prompt: "Enter your vCenter username"
      private: no

    - name: "vmware_vcenter_password"
      prompt: "Enter your vCenter password"
      private: yes
  roles:
    - role: stone-payments.ansible-vmware

Dependencies

Not yet.

Licens

MIT

About

This repository contains a role for create, delete or to manage a Virtual Machine (VM) using VMware vSphere vCenter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published