Skip to content

Commit

Permalink
infra: Use a template for the sentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed May 12, 2019
1 parent 3fdfa2d commit b31c47c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 2 additions & 10 deletions infra/deployment/roles/explorer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,12 @@

- name: Set the sentry config
become: yes
copy:
src: "files/sentry.properties"
template:
src: "templates/sentry.properties.j2"
dest: /home/play/app/xsn-block-explorer-0.1.0-SNAPSHOT/conf/sentry.properties
owner: play
group: play

- name: Add the servername to the sentry config
become: yes
lineinfile:
path: /home/play/app/xsn-block-explorer-0.1.0-SNAPSHOT/conf/sentry.properties
line: "servername={{ explorer_service_name }}"
owner: play
group: play

- name: Set the application files permissions
become: yes
file:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
stacktrace.app.packages=com.xsn,com.alexitc
servername={{ explorer_service_name }}

0 comments on commit b31c47c

Please sign in to comment.