Approval Points
When you want to pause a job and ask for approval first. You can insert an approval point using the approval-object attributes
Attributes
| Attribute | Comments |
|---|---|
| title string / required | Approval message title
The approval point consists out of a title and message. This is the title attribute. |
| message string / required | Approval message
The approval point consists out of a title and message. This is the message attribute. |
| roles array / required | The approver roles
Every role in this list will have the power to approve or reject this job. |
| notifications array / required | The approval recipients
Every email-address in this list will receive the approval message by email with the approval link. |
Examples
1) Remove host
approval:
title: Remove host $(vm.name) ?
message: |
You are about to remove vm $(vm.name).<br>
Esx server : $(cluster.esxhost.name)<br>
Status : $(vm.status)<br>
Change request : $(cr.id)
roles:
- approvers
- vmwareadmin
notifications:
- vmware@domain.local
- approvers@domain.local