Post-Tyranny-Tech-Infrastru.../ansible/roles/diun/defaults/main.yml

32 lines
935 B
YAML
Raw Normal View History

---
# Diun default configuration
diun_version: "latest"
diun_schedule: "0 6 * * 1" # Weekly on Monday at 6am UTC (was daily)
diun_log_level: "info"
diun_watch_workers: 10
# Notification configuration
diun_notif_enabled: true
diun_notif_type: "webhook" # Options: webhook, slack, discord, email, gotify
diun_webhook_endpoint: "" # Set per environment or via secrets
diun_webhook_method: "POST"
diun_webhook_headers: {}
# Optional: Slack notification
diun_slack_webhook_url: ""
# Optional: Email notification (Mailgun)
# Note: Uses per-client SMTP credentials from mailgun role
diun_email_enabled: true
diun_smtp_host: "smtp.eu.mailgun.org"
diun_smtp_port: 587
diun_smtp_from: "{{ client_name }}@mg.vrije.cloud"
diun_smtp_to: "pieter@postxsociety.org"
# Which containers to watch
diun_watch_all: true
diun_exclude_containers: []
# Reduce notification spam - only send ONE email per server per week
diun_first_check_notif: false