controller_notifications.yml.j2 template

---
{% set curr_env=curr_file.split(',')[0] %}
controller_notifications_{{ curr_env }}:
  - name: {{ organization_short_name | upper }}_Email_notification_automation
    description: Send out emails to the team for automation jobs
    organization: {{ organization_long_name | upper }}
    notification_type: email
    messages: '{}'
    notification_configuration:
      username: ''  # this is required even if there's no username
      sender: noreply@localhost
      recipients:
        - <email adress>
      use_tls: false
      host: mailrelay.homelab
      use_ssl: false
      password: ''  # this is required even if there's no password
      port: 25
...

Back