Ansible
Can you send mail within assert?
Archives
Ansible Project
ansible-project
system
(system)
December 17, 2019, 11:08pm
1
use a `block`, send mail in the `rescue` section and then use a `fail`
task to 'continue the error'
Related topics
Topic
Replies
Views
Activity
How to send email if task fails on something or any particular condition? I
Ansible Project
1
93
June 22, 2022
efficient way to get email notification about failed task in a playbook or role
Ansible Developer
2
29
July 21, 2018
Ansible multiple roles in a block with rescue/fail
Ansible Project
0
19
February 22, 2018
Want to send mail notification of task completion
Ansible Project
0
16
October 22, 2019
Understanding block and rescue
Ansible Project
2
32
August 18, 2022