paulbsd-salt/states/reactor/email-on-failure.sls

8 lines
258 B
Plaintext
Raw Permalink Normal View History

2020-07-10 00:58:55 +02:00
---
email-on-failure:
runner.process_minion_data.email_errors:
- smtp_server: 127.0.0.1
- fromaddr: salt@paulbsd.com
- toaddrs: paul@paulbsd.com
- subject: "Salt failure or changes on {{ data['id'] }}"
- data_str: {{ data|yaml_dquote }}