Hi All,
The output of ansible Playbook looks structured way when sending mail with ansible mail module receives like paragraph.Is there way to get same structured output in mail?
Also is it possible to have some kind coloring format for mail output in ansible?
Regards
Kumaresan
You can edit the body as a html page. And format it as u want. Colouring, hi-lights, and any text editing. ‘Subtype: html’ needs to be used with mail module.
Refer to below link for basic examples:
https://www.infinitypp.com/ansible/email-notifications-with-examples/
Thanks and Regards
Mani Mohan