AWX Email Notification

Can anyone help me in steps to set up the email notif in awx
Gone through : https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html
Doubts are?

  1. Is it the Host/Server where AWX GUI is installed or some other host?
  2. is it the Port of AWX GUI which is 80/443 or is it Mail Client/SMTP port and what port number ?
  3. is it my user made on AWX GUI server or from root user ?
  4. and also do i need to set up a mail service container in my local host ( awx) or its in built ?

Please advise

Hello. You can’t configure gmail as smtp because after 30 may 2022 year Google don’t support third party mail clients.

I have example with public mail system of “Yandex company”.

Register on https://yandex.com/ your mail account and watch this video tutorial.
https://youtu.be/tVoPkYfFgS4

сб, 15 окт. 2022 г. в 14:05, Vandana Thakur <vandanakec@gmail.com>:

The issue is different here:

[Errno 101] Network is unreachable : The setup you gave lead me here  --> Where must be the logs to decipher the issue in AWx ( is ut awx_We or awx_task ?)
  -> And  also do i need to set up a mail service container in my local host ( awx) or its in built ?

Target is just to get an email via AWX 





And  also do i need to set up a mail service container in my local host ( awx) or its in built ?

No, you don’t. Because AWX notification is using like mail client, for example like outlook that connect to mail server.

Do you have access to the Internet on the host with AWX?

I use MicroK8S for AWX deployment

And do this command for checking internet access in pods:
linux@awx:~$ kubectl get pods -n awx
NAME READY STATUS RESTARTS AGE
awx-operator-controller-manager-5d9949568d-lhhxv 2/2 Running 9 (25m ago) 172d
awx-postgres-0 1/1 Running 4 (25m ago) 172d
awx-77b6cccc9d-gbmvk 4/4 Running 15 (25m ago) 172d

Then:
linux@awx:~$ kubectl exec -n awx -i -t awx-77b6cccc9d-gbmvk --container awx-web – /bin/bash
bash-5.1$

Then:

bash-5.1$ curl https://automationtools.me

And it return me internet page. Pod awx-web has internet access!

сб, 15 окт. 2022 г. в 14:05, Vandana Thakur <vandanakec@gmail.com>: