Hi,
I am pretty new to ansible, i am trying to get ansible to send me an email from my defined hosts (as in the inventory file
To make the playbook work i have had to hardcode the FROM field within the email module of ansible.
I have hardcoded the playbook file such that the FROM field is the control server .
This works… however the FROM field gives the wrong impression that the email is being sent from the control server , ie root@server1.myserver1 but in other words its coming from each individual server .ie root@server2.myserver… etc
I have 6 servers under ansible control for my lab purposes ie server 1 to server6