Commit 826e9d4f authored by julian.gethmann's avatar julian.gethmann

Fix ansible sending mail when finished

parent 97f5fac7
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
tasks: tasks:
- name: send mail to me - name: send mail to me
mail: mail:
subject: System {{ ansible_hostname }} has been successfully provisioned. subject: Ansible run successful
to: Julian Gethmann <gethmann@kit.edu> to: Julian Gethmann <gethmann@kit.edu>
from: Ansible <gethmann@kit.edu>
body: Ansible ran successfully on {{ ansible_hostname }}.
host: smarthost.kit.edu
port: 25
delegate_to: localhost delegate_to: localhost
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment