Skip to content

Instantly share code, notes, and snippets.

@matthewcosgrove
Created March 30, 2017 20:12
Show Gist options
  • Save matthewcosgrove/f5da8452ba25c4f448b616de8dd2525d to your computer and use it in GitHub Desktop.
Save matthewcosgrove/f5da8452ba25c4f448b616de8dd2525d to your computer and use it in GitHub Desktop.
---
resource_types:
- name: pivnet
type: docker-image
source:
repository: pivotalcf/pivnet-resource
tag: latest-final
resources:
- name: pivnet-pcf-opsman
type: pivnet
source:
api_token: {{pivnet_api_token}}
product_slug: ops-manager
product_version: 1\.10\.0
- name: govcwrap
type: git
source:
branch: master
uri: {{git_repo_gowrap}}
- name: pcf-vsphere
type: git
source:
branch: master
uri: {{git_repo_pcf_vsphere}}
username: {{git_username}}
password: {{git_password}}
jobs:
- name: WIP-deploy-opsman-idempotently
plan:
- aggregate:
- get: pcf-vsphere
trigger: true
- get: govcwrap
trigger: true
- get: pivnet-pcf-opsman
params:
globs:
- "*vsphere*"
- task: check-prereqs
file: pcf-vsphere/tasks/opsman/deploy_opsman_idempotently.yml
timeout: 4h
params:
OPSMAN_VM_IP: {{opsman_vm_ip}}
OPSMAN_NTP_SERVER: {{opsman_ntp_server}}
OPSMAN_VM_PASSWORD: {{opsman_vm_password}}
OPSMAN_NETWORK_NAME: {{opsman_network_name}}
OPSMAN_OVA: ../pivnet-pcf-opsman/pcf-vsphere-1.10.0.ova
OPSMAN_CUSTOM_HOSTNAME: {{opsman_custom_hostname}}
GOVC_URL: {{govc_url}}
GOVC_USERNAME: {{govc_username}}
GOVC_PASSWORD: {{govc_password}}
GOVC_DATACENTER: {{govc_datacenter}}
GOVC_DATASTORE: {{govc_datastore}}
GOVC_RESOURCE_POOL: {{govc_resource_pool}}
GOVC_INSECURE: {{govc_insecure}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment