Overview
This KBA discusses how to retrieve objects such as server, resource handler and etc in a Web-Hook that runs after provisioning job in CMP.
Considerations
Take a look at the https://docs.cloudbolt.io/articles/#!cloudbolt-latest-docs/webhooks/a/h1__2079605480 and configure a webhook as a post provisioning item either as a build item in a blueprint or as an orchestration action at the Post-Provision hook point
Procedure
Step 1 Modify the Body of the webhook with the following Payload
{ 'hostname':'{{ server.hostname }}', 'group': '{{ server.group }}', 'resource handler': '{{server.resource_handler}}' }
Step 2 look at the JSON file of the job that runs the webhook to see the result.
Additional information
https://docs.cloudbolt.io/articles/#!cloudbolt-latest-docs/webhooks/a/h2_1706682916
0 Comments