40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# =============================================================================
|
|
# Configuration file for rsyslog GitOps
|
|
# =============================================================================
|
|
# Copy this file to config.local.env and update the values for your environment.
|
|
# The .local.env variant is gitignored for sensitive data.
|
|
# =============================================================================
|
|
|
|
# Repository metadata
|
|
REPO_NAME="rsyslog"
|
|
REPO_DESCRIPTION="Manage rsyslog configuration on Linux servers using Git as the single source of truth"
|
|
|
|
# Server configuration
|
|
SERVER_USER="${SERVER_USER:-root}"
|
|
SERVER_HOSTNAME="${SERVER_HOSTNAME:-localhost}"
|
|
|
|
# File locations on the server
|
|
RSYSLOG_MAIN_CONFIG="/etc/rsyslog.conf"
|
|
RSYSLOG_CONFIG_DIR="/etc/rsyslog.d"
|
|
|
|
# File locations in the Git repository (relative to repo root)
|
|
GIT_RSYSLOG_MAIN_CONFIG="files/rsyslog.conf"
|
|
GIT_RSYSLOG_CONFIG_DIR="files/rsyslog.d"
|
|
|
|
# Ansible configuration
|
|
ANSIBLE_INVENTORY="ansible/inventory/hosts.yml"
|
|
ANSIBLE_PLAYBOOK_DIR="ansible/playbooks"
|
|
ANSIBLE_CONFIG="ansible.cfg"
|
|
|
|
# Validation settings
|
|
VALIDATE_SYNTAX=true
|
|
VALIDATE_SSH_CONNECTIVITY=true
|
|
VALIDATE_RSYSLOG_STATUS=true
|
|
|
|
# Prometheus/Pushgateway (optional)
|
|
PUSHGATEWAY_URL="${PUSHGATEWAY_URL:-http://pushgateway.observability-stack.svc.cluster.local:9091}"
|
|
ENABLE_METRICS=true
|
|
|
|
# Logging
|
|
LOG_LEVEL="info" # debug, info, warn, error
|