Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {%- if data['retcode'] != 0 %}
- send_alert_email:
- local.smtp.send_msg:
- - name: "data['return']"
- - subject: "data['id']"
- - recipient: my@email.com
- - sender: admin@mynode.com
- - server: mail.example.com
- - use_ssl: True
- {%- endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement