From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Configuring notifications

Configuring notifications

So, one of the nice features of Ansible Tower is that you can work with notifications, and notification makes sure that on any event that is happening, user will receive a notification. Now, if you want to work with notifications, you first need to define the notification itself and then you need to assign it to either your job or your workflow, we'll be talking about workflows later. So how does it work? We have a notification template and in the notification template, well, I would say first, have a look at the notification types. Here we can see the different types that can be alerted, like e-mail, but you can also use a webhook or send to Grafana or send a message to Slack. But let's just go for e-mail and let's configure this notification. So what is the name? Some problem because that's typically what you want to use your notification for. Then we select the organization. I'm just staying in the default organization. The type is e-mail and then we need a username to actually…

Contents