Coder Social home page Coder Social logo

stouts.sentry's Introduction

Stouts.sentry

Build Status Galaxy

Ansible role which install and setup Sentry

Recomended

Variables

The role variables and default values.

sentry_enabled: true                                        # Enable the role
sentry_version: 8.22
sentry_secret_key: replaceme                                # Setup secret key for Sentry installation

sentry_home: /opt/sentry
sentry_hostname: "{{inventory_hostname}}"
sentry_single_organization: true

sentry_plugins: []                                          # Setup plugins
sentry_config_additional: []                                # List of additional options

# Postgresql
sentry_postgres_host: postgres
sentry_postgres_port: ""
sentry_db_name: postgres
sentry_db_user: postgres
sentry_db_password: postgres
sentry_db_options: {autocommit: 1}

# Redis
sentry_redis_host: redis
sentry_redis_password: ""
sentry_redis_db: 0
sentry_redis_port: 6379

# Memcached
sentry_memcached_host: memcached
sentry_memcached_port: 11211

# AMPQ
sentry_broker_url: "redis://{{sentry_redis_host}}:{{sentry_redis_port}}"

# Filestorage
sentry_filestore_location: "{{sentry_home}}/files"
sentry_filestore_backend: "filesystem"
sentry_filestore_access_key: ""
sentry_filestore_secret_key: ""
sentry_filestore_bucket_name: ""


# SSL
sentry_use_ssl: false
sentry_nginx: true
sentry_nginx_port: 80
sentry_nginx_ssl_redirect: "{{sentry_use_ssl}}"                 # 80 -> 443
sentry_nginx_ssl_certificate:                                   # SSL certificate file - also turns on HTTPS on Nginx
sentry_nginx_ssl_certificate_key:                               # Key file for SSL cert
sentry_nginx_timeout: 15s
sentry_nginx_body_size: 150k
sentry_nginx_access_log: /var/log/sentry-access.log
sentry_nginx_error_log: /var/log/sentry-error.log

# Emails
sentry_mail_backend: smtp
sentry_mail_enable_replies: false
sentry_mail_from: "sentry@{{sentry_hostname}}"         # From email
sentry_mail_host: localhost
sentry_mail_reply_hostname: ""
sentry_mail_password: ""
sentry_mail_port: 25
sentry_mail_use_tls: false
sentry_mail_username: ""
sentry_mail_mailgun_api_key: ""

# Social auth settings
sentry_twitter_consumer_key: ""
sentry_twitter_consumer_secret: ""
sentry_facebook_app_id: ""
sentry_facebook_api_secret: ""
sentry_google_oauth2_client_id: ""
sentry_google_oauth2_client_secret: ""
sentry_github_app_id: ""
sentry_github_api_secret: ""
sentry_trello_api_key: ""
sentry_trello_api_secret: ""
sentry_bitbucket_consumer_key: ""
sentry_bitbucket_consumer_secret: ""

# Web
sentry_web_host: 127.0.0.1
sentry_web_port: 9000
sentry_web_options: {}

# Setup docker containers
sentry_redis: true
sentry_postgres: true
sentry_memcached: true

# Initial users
sentry_admins:
  - email: "admin@{{sentry_hostname}}"
    password: "admin"

sentry_auth_register: false
sentry_beacon: true

Usage

Add Stouts.sentry to your roles and set vars in your playbook file.

Example:

- hosts: all
  sudo: true

  roles:
  - Stouts.python
  - Stouts.docker
  - Stouts.nginx
  - Stouts.sentry

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!

If you wish to express your appreciation for the role, you are welcome to send a postcard to:

Kirill Klenov
pos. Severny 8-3
MO, Istra, 143500
Russia

stouts.sentry's People

Contributors

egorchakov avatar gplz avatar javaguirre avatar klen avatar lepture avatar miohtama avatar mn7z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stouts.sentry's Issues

Stouts.docker not found

Hey, Stouts.docker as indicated on the readme is not in ansible-galaxy so the import fails and must be fetched from git - and the link on the readme to it actually takes you to Stouts.python.

Cannot find role Ansibles.build-essential

I get this error when using this site.yml file

- hosts: all
  roles:
      - Stouts.foundation
      - Stouts.python
      - Stouts.postfix
      - Stouts.sentry

  vars:
      postfix_smtp_sasl_user: "[email protected]"
      postfix_smtp_sasl_password: "password"
ERROR: cannot find role in /home/javaguirre/code/ansible/provision/sentry/roles/Ansibles.build-essential or /home/javaguirre/code/ansible/provision/sentry/Ansibles.build-essential or /home/javaguirre/code/ansible/provision/sentry/ansible/vendor/roles/Ansibles.build-essential
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Services not found

Not sure whats causing it as the scripts are in the place
TASK [Stouts.sentry : Ensure Sentry is started] ********************************
failed: [sentry] => (item=sentry-web) => {"failed": true, "item": "sentry-web", "msg": "systemd could not find the requested service "'sentry-web'": "}
failed: [sentry] => (item=sentry-worker) => {"failed": true, "item": "sentry-worker", "msg": "systemd could not find the requested service "'sentry-worker'": "}
Running on debian 8.3

Make v1.6.4 available on Ansible Galaxy

The latest version on Ansible Galaxy is still v1.6.1

Could we please get v1.6.4? In particular it is for the change in @1e548335515ea608cc0df50ccca640547015c37e#diff-36ca9d0f2cd11e460433409381b7f923

Without it, I can't use any sentry more recent than 7.4.3 (and I need 7.5 so that I can set up API keys in the Organisation section!)

Not debian compliant

Hey!

The requirements are not debian compliant. At least the ppa for the redis etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.