This role installs and configures Self-Hosted Sentry.
Ansible 2.15 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
sentry_version | true | 24.10.0 |
string | Git tag or branch to clone. |
sentry_install_dir | true | /opt/sentry |
string | |
sentry_install_options | true | string | See defaults/main.yml . |
|
sentry_mail_host | true | smtp |
string | |
sentry_mail_port | true | 25 |
int | |
sentry_mail_username | true | 25 |
string | |
sentry_mail_password | true | 25 |
string | |
sentry_mail_use_tls | true | false |
boolean | |
sentry_mail_use_ssl | true | false |
boolean | |
sentry_mail_from | true | root@localhost |
string | |
sentry_mail_enable_replies | true | false |
boolean | |
sentry_mail_reply_hostname | true | '' |
string | |
sentry_mail_mailgun_api_key | true | '' |
string | |
sentry_system_secret_key | true | !!changeme!! |
string | This should be set. |
sentry_slack_client_id | true | '' |
string | |
sentry_slack_client_secret | true | '' |
string | |
sentry_slack_signing_secret | true | '' |
string | |
sentry_github_app_id | true | '' |
string | |
sentry_github_app_name | true | '' |
string | |
sentry_github_app_webhook_secret | true | '' |
string | |
sentry_github_app_client_id | true | '' |
string | |
sentry_github_app_client_secret | true | '' |
string | |
sentry_github_app_private_key | true | '' |
string | |
sentry_reverse_ssl_proxy | true | false |
boolean | |
sentry_geoip_account_id | true | '' |
string | |
sentry_geoip_license_key | true | '' |
string | |
sentry_geoip_edition_ids | true | GeoLite2-City |
string | |
sentry_backup_enabled | true | false |
boolean | |
sentry_backup_command | true | boolean | See defaults/main.yml . |
|
sentry_backup_frequency | true | daily |
string | |
sentry_custom_env | true | [] |
list |
- Docker
- Git
- hosts: all
roles:
- role: ansible-role-sentry
molecule --base-config molecule/shared/base.yml test --scenario-name debian-11
molecule --base-config molecule/shared/base.yml test --scenario-name debian-12
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2204
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2404
MIT