Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
webservices
Commits
ce6ed0de
Commit
ce6ed0de
authored
Feb 24, 2020
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
sentry: fix deployment according to software changes
parent
55a0508a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sentry/tasks/main.yml
+32
-7
32 additions, 7 deletions
sentry/tasks/main.yml
with
32 additions
and
7 deletions
sentry/tasks/main.yml
+
32
−
7
View file @
ce6ed0de
...
...
@@ -15,6 +15,8 @@
-
libldap2-dev
-
libssl-dev
-
python-ldap
-
libxmlsec1-dev
-
pkg-config
state
:
present
tags
:
-
sentry
...
...
@@ -106,7 +108,7 @@
-
name
:
ensure the user may login
lineinfile
:
dest
:
/etc/postgresql/
9.6
/main/pg_hba.conf
dest
:
/etc/postgresql/
11
/main/pg_hba.conf
# yamllint disable-line rule:line-length
insertafter
:
"
host
all
all
127.0.0.1/32
md5"
# yamllint disable-line rule:line-length
...
...
@@ -124,14 +126,13 @@
-
name
:
ensure we have a virtualenv and all the packages
# noqa 403
pip
:
name
:
"
{{item}}"
virtualenv
:
"
{{sentry_root_dir}}"
virtualenv_python
:
python2
state
:
latest
with_items
:
name
:
-
sentry
-
sentry-ldap-auth
-
sentry-plugins
virtualenv
:
"
{{sentry_root_dir}}"
virtualenv_python
:
python2
state
:
latest
notify
:
-
upgrade sentry database
-
restart sentry
...
...
@@ -149,10 +150,34 @@
-
webservices
-
monitoring
-
name
:
ensure sentry has a config dir
file
:
path
:
"
{{sentry_root_dir}}/.sentry"
state
:
directory
owner
:
sentry
group
:
sentry
mode
:
'
0640'
tags
:
-
sentry
-
webservices
-
monitoring
-
name
:
ensure one can see that conf dir
file
:
src
:
"
{{sentry_root_dir}}/.sentry"
dest
:
"
{{sentry_root_dir}}/conf"
state
:
link
owner
:
sentry
group
:
sentry
tags
:
-
sentry
-
webservices
-
monitoring
-
name
:
ensure sentry is configured
template
:
src
:
"
{{item}}.j2"
dest
:
"
{{sentry_root_dir}}"
dest
:
"
{{sentry_root_dir}}
/.sentry/{{item}}
"
owner
:
root
group
:
"
{{sentry_group}}"
mode
:
'
0640'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment