Webhook notifications are quite often useful when we often release a large number of changes. AWX supports quite a few types of notifications like:
However, there is no dedicated type for MS Teams. In this case, we have to do it via the Webhook.
Official documentation:
Unfortunately, the official documentation does not provide detailed information on how to configure a webhook for MS Teams.
Basic Configuration:
- Create a Notification Template
- As type choose Webhook
- Fill all fields without user and password
- Json for field header in your configuration
{
"content-type": "application/json"
}
- For HTTP Method use POST
Create custom notifications:
This custom notifications is required for proper send notifications to MS Teams
- Start Message Body
- Success Message Body
- Error Message Body