Advertisement
Guest User

Untitled

a guest
Aug 7th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. {%- if data['retcode'] != 0 %}
  2. send_alert_email:
  3. local.smtp.send_msg:
  4. - name: "data['return']"
  5. - subject: "data['id']"
  6. - recipient: my@email.com
  7. - sender: admin@mynode.com
  8. - server: mail.example.com
  9. - use_ssl: True
  10. {%- endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement