mirror of
https://github.com/jbowdre/vRealize.git
synced 2024-10-31 19:02:17 +00:00
Create server.yaml
This commit is contained in:
parent
0baf0de34d
commit
30927e8500
1 changed files with 44 additions and 0 deletions
44
Cloud Assembly/Templates/server.yaml
Normal file
44
Cloud Assembly/Templates/server.yaml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
formatVersion: 1
|
||||||
|
inputs:
|
||||||
|
compute:
|
||||||
|
type: object
|
||||||
|
$ref: /ref/property-groups/compute
|
||||||
|
naming:
|
||||||
|
type: object
|
||||||
|
$ref: /ref/property-groups/naming
|
||||||
|
tracking:
|
||||||
|
type: object
|
||||||
|
$ref: /ref/property-groups/tracking
|
||||||
|
resources:
|
||||||
|
vCompute:
|
||||||
|
type: Cloud.vSphere.Machine
|
||||||
|
properties:
|
||||||
|
image: ${input.compute.image}
|
||||||
|
flavor: ${input.compute.flavor}
|
||||||
|
customizationSpec: ${input.compute.customSpec}
|
||||||
|
nameBase: ${to_upper(input.compute.site + '-' + input.naming.env + input.naming.function + '-' + input.naming.app)}
|
||||||
|
digits: ${input.naming.digits}
|
||||||
|
folderName: ${input.compute.site + "-" + input.naming.function}
|
||||||
|
networks:
|
||||||
|
- network: ${resource.vNetwork.id}
|
||||||
|
assignment: static
|
||||||
|
storage:
|
||||||
|
bootDiskCapacityInGB: ${input.compute.diskSize}
|
||||||
|
domain: ${propgroup.constants.domain}
|
||||||
|
staticDns: ${input.compute.staticDns}
|
||||||
|
adObject: ${input.compute.adObject}
|
||||||
|
ignoreActiveDirectory: ${!input.compute.adObject}
|
||||||
|
activeDirectory:
|
||||||
|
relativeDN: ${'OU=Servers,OU=Computers,OU=' + to_upper(input.compute.site) + ',OU=LAB'}
|
||||||
|
adminsList: ${input.compute.adminUsers}
|
||||||
|
ticket: ${input.tracking.ticket}
|
||||||
|
poc: ${input.tracking.pocName + " (" + input.tracking.pocEmail + ")"}
|
||||||
|
description: ${input.tracking.vmDescription}
|
||||||
|
vCenterUser: ${propgroup.constants.vCenterUser}
|
||||||
|
templateUser: ${propgroup.constants.templateUser}
|
||||||
|
vNetwork:
|
||||||
|
type: Cloud.vSphere.Network
|
||||||
|
properties:
|
||||||
|
networkType: existing
|
||||||
|
constraints:
|
||||||
|
- tag: ${input.compute.network}
|
Loading…
Reference in a new issue