hi team i need one help with the mail module
it is throwing error address family not supported
if anyone know how to send mail when the task failed please help
thanks
prajwal h g
hi team i need one help with the mail module
it is throwing error address family not supported
if anyone know how to send mail when the task failed please help
thanks
prajwal h g
Post your playbook
here is my playbook
hi team can you please suggest a solution if anyone knows whats happening here
There is no 'sender' argument. See
https://docs.ansible.com/ansible/latest/modules/mail_module.html
Other than that it looks OK.
So, what is the EXACT error output you get when running the task>?
Also what version etc etc.
And keep in mind Gmail requires an application specific password:
https://support.google.com/mail/answer/185833?hl=en
Actually 'sender' is an undocumted alias for 'from', so this will work.
I attached my ansible version screen shot and error screenshot please look at this and help me out as soon as possible I stuck up with this problem for a week
Thanks
Prajwal h g
I attached my ansible version screen shot and error screenshot please look at this and help me out as soon as possible I stuck up with this problem for a week
Sounds like bad planning on your side.
You might get more help if you provide better information to start
with, and change your attitude.
This list is run by volunteers, so don't order them around.
The issue is with your controller node, it appears to have some
screwed up network configuration.
Check manually if you can set up connections to the specific
host/port, for instance with OpenSSL s_client:
echo "EHLO blah.com" | openssl s_client -starttls smtp -crlf -connect
smtp.gmail.com:587
This should give you a 250 response code. If it doesn't work, then you
need to fix that. If it's fixed, then your ansible playbook should
also work.
PS next time just post actual text if asked, and not some shaky 3MB photo...
Dick