Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sky-joker/ansible-vmware-govcsim-provisioner
Provisioning Roles for vcsim created in Go Language
https://github.com/sky-joker/ansible-vmware-govcsim-provisioner
ansible ansible-galaxy ansible-galaxy-roles role vmware
Last synced: about 1 month ago
JSON representation
Provisioning Roles for vcsim created in Go Language
- Host: GitHub
- URL: https://github.com/sky-joker/ansible-vmware-govcsim-provisioner
- Owner: sky-joker
- License: mit
- Created: 2019-08-29T14:25:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T15:28:15.000Z (over 5 years ago)
- Last Synced: 2024-04-16T00:14:08.955Z (9 months ago)
- Topics: ansible, ansible-galaxy, ansible-galaxy-roles, role, vmware
- Homepage: https://galaxy.ansible.com/sky_joker/ansible_vmware_govcsim_provisioner
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/sky-joker/ansible-vmware-govcsim-provisioner.svg?branch=master)](https://travis-ci.org/sky-joker/ansible-vmware-govcsim-provisioner) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# Ansible VMware govcsim provisioner
This Role provisions a container for [vcsim](https://github.com/vmware/govmomi/tree/master/vcsim) that is created in the Go language.
## Requirements
* docker-compose
## Install
How to install this role run following command.
```
$ ansible-galaxy install sky_joker.ansible_vmware_govcsim_provisioner -p roles
```## Role Variables
You can change the configuration of the vcsim to be provisioned by changing the variable.
Available variables are(see `defaults/main.yml`):```yaml
---
# govcsim container params.
# please choices 'started' or 'absent' for the state.
govcsim_image: quay.io/ansible/vcenter-test-container:latest
state: started# govcsim params.
app: 0
cluster: 0
dc: 1
ds: 1
folder: 1
host: 3
pg: 1
pod: 1
pool: 1
vm: 2
```| param | description |
|---------------|----------------------------------------------------------------------------|
| govcsim_image | [vcsim container image](https://github.com/ansible/vcenter-test-container) |
| state | choices started or absent |
| app | Number of virtual apps per compute resource |
| cluster | Number of clusters |
| dc | Number of datacenters |
| ds | Number of local datastores |
| folder | Number of folders |
| host | Number of standalone hosts |
| pg | Number of port groups |
| pod | Number of storage pods per datacenter |
| pool | Number of resource pools per compute resource |
| vm | Number of virtual machines per resource pool |## Dependencies
None.
## Example Playbook
```yaml
---
- name: vcsim provisioning playbook
hosts: localhost
gather_facts: no
roles:
- sky_joker.ansible_vmware_govcsim_provisioner
```## License
MIT
## Author Information
This role was created by [sky-joker](https://github.com/sky-joker).