Skip to content

boutetnico/ansible-role-sentry

Repository files navigation

tests Ansible Galaxy

ansible-role-sentry

This role installs and configures Self-Hosted Sentry.

Requirements

Ansible 2.15 or newer.

Supported Platforms

Role Variables

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

Dependencies

  • Docker
  • Git

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-sentry

Testing

Debian

molecule --base-config molecule/shared/base.yml test --scenario-name debian-11
molecule --base-config molecule/shared/base.yml test --scenario-name debian-12

Ubuntu

molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2204
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2404

License

MIT

Author Information

@boutetnico

About

Install and configure Self-Hosted Sentry using Ansible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published