ansible email and template

Hi All,

I am trying to send email in html but email body display the same html file.

Playbook:

(attachments)

You would need to send a multipart mime email, to allow an email client to properly render the HTML content, which the mail module provides no assistance with.

As such, you would have to build a multipart body manually in your playbook or template, which will likely require some learning and effort.

(attachments)