Enable and configure Email notification in awx 20

467 views
Skip to first unread message

Ahilan Swaminathan

unread,
Sep 16, 2022, 12:50:08 AM9/16/22
to awx-p...@googlegroups.com, Ahilan Swaminathan, Mean...@gmail.com, brok...@gmail.com
Hi Team

I enabled Email notification in awx console but when I tried to send test notification, it failed and found error "no route to host". Please provide if any document to configure and enable the Email notification in awx 20 is much appreciated

Thanks and Regards
S.Ahilan
Lead Analyst
CGI Software Solutions and consultant Pvt Ltd
DLF IT Park
Chennai 600089
+91-9486332230



AWX Project

unread,
Sep 16, 2022, 1:30:19 PM9/16/22
to AWX Project
You can exec into the task container with "kubectl exec -it deploy/awx -c awx-task -- bash" and attempt to make a connection to your email server. If the connection fails there, then you'll know this is an environment configuration issue (i.e. ports/routes, etc)


AWX Team

Ahilan Swaminathan

unread,
Sep 22, 2022, 4:29:38 AM9/22/22
to awx-p...@googlegroups.com, Ahilan Swaminathan, brok...@gmail.com, Mean...@gmail.com, brookman.a...@cgi.com
Hi AWX Team

In awx-ee, awx-web and awx-task we don't have mail client pkg(postfix) installed and configured. How can we install and configure the postfix mail client in awx deployment. 
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/f2afffba-9d10-479f-a097-56ba5e11f5d2n%40googlegroups.com.

Ankit Pandey

unread,
Sep 23, 2022, 3:56:44 AM9/23/22
to AWX Project
Hi Ahil,

If you want to have some package installed in your EE, then i will advice you to prepare a new customized EE via ansible-builder to install additional packages i.e. postfix. And use that EE to run your jobs.

AWX Team please correct me if I have understood wrong.


Regards,
Ankit Pandey

Ahilan Swaminathan

unread,
Sep 26, 2022, 4:12:04 AM9/26/22
to awx-p...@googlegroups.com, Ahilan Swaminathan, brok...@gmail.com, Mean...@gmail.com
Yes Ankit

But in Prd, we are not allowed to pull the customized images from docker or any other public repo's. That's the reason I need to customize the running awx-ee by using awx deployment what we did for hostalias. or else I need to customized the awx yaml file to build the awx deployment for installing and mapping the configuration files from scratch.
Below I need to customized the awx yaml 
1) Installing required pkgs
2) mapping any configuration files(like /etc/tower/conf/custom.py and /etc/postfix/main.cf)

Please provide me the crystal clear steps

Wei-Yen Tan

unread,
Sep 26, 2022, 7:00:28 AM9/26/22
to awx-p...@googlegroups.com, Ahilan Swaminathan, brok...@gmail.com, Mean...@gmail.com

I wrote a blog a while back. May help. Some steps can be omitted  like the last few. Hope It helps 

Sent from Outlook for iOS

From: awx-p...@googlegroups.com <awx-p...@googlegroups.com> on behalf of Ahilan Swaminathan <ahil...@gmail.com>
Sent: Monday, September 26, 2022 4:11:49 PM
To: awx-p...@googlegroups.com <awx-p...@googlegroups.com>
Cc: Ahilan Swaminathan <ahil...@gmail.com>; brok...@gmail.com <brok...@gmail.com>; Mean...@gmail.com <Mean...@gmail.com>
Subject: Re: [awx-project] Re: Enable and configure Email notification in awx 20
 

Ankit Pandey

unread,
Sep 27, 2022, 3:07:22 AM9/27/22
to AWX Project
Hi Ahil,

I don't think without building image you can achieve that, If you don't have any image registry access, then try to atleast build it locally and set the ' image_pull_policy' as never.
to set image path and all.

Thanks & Regards,
Ankit Pandey

Wei-Yen Tan

unread,
Sep 27, 2022, 6:25:31 AM9/27/22
to awx-p...@googlegroups.com
If you are using a Kubernetes version like k3s you can import tar.gz files in as images in a manifest file. 

Sent from Outlook for iOS

From: 'Ankit Pandey' via AWX Project <awx-p...@googlegroups.com>
Sent: Tuesday, September 27, 2022 3:07:22 PM
To: AWX Project <awx-p...@googlegroups.com>

Ahilan Swaminathan

unread,
Sep 28, 2022, 7:38:46 AM9/28/22
to awx-p...@googlegroups.com
Hi Team

Can you elaborate how to create a custom EE, I am not familiar with ansible-builder so I'm a bit confused about how to create the custom EE. My requirement, need to enable email notification that's it
Reply all
Reply to author
Forward
0 new messages