Email results , either failure or success

217 views
Skip to first unread message

Nitrous

unread,
Jan 14, 2022, 11:08:27 AM1/14/22
to Ansible Project
We have 3 playbooks, that all acheive different tasks when building a server.
Each playbook can have either a role in it or a module from collection.

How can I email result of when either a task fails in any of  3 playbooks ( this is when ansible quits, and I rerun my playbook again)  and, email me final result of when the whole build was successful only.

Hope I am making sense.

Thanks


Brian Coca

unread,
Jan 14, 2022, 11:16:39 AM1/14/22
to Ansible Project
Reply all
Reply to author
Forward
0 new messages