Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alerta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
alerta
Commits
99643f70
Commit
99643f70
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update to version 6.0.0
parent
6f2879d3
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
defaults/main.yml
+1
-0
1 addition, 0 deletions
defaults/main.yml
tasks/alerta.yml
+8
-5
8 additions, 5 deletions
tasks/alerta.yml
templates/alertad.conf
+2
-1
2 additions, 1 deletion
templates/alertad.conf
templates/config.json
+1
-0
1 addition, 0 deletions
templates/config.json
with
12 additions
and
6 deletions
defaults/main.yml
0 → 100644
+
1
−
0
View file @
99643f70
alerta_ui_version
:
'
6.0.0'
This diff is collapsed.
Click to expand it.
tasks/alerta.yml
+
8
−
5
View file @
99643f70
...
...
@@ -29,12 +29,12 @@
-
name
:
"
Download
and
extract
web
UI"
unarchive
:
src
:
'
https://github.com/alerta/angular-alerta-webui/archive/
master
.zip'
src
:
'
https://github.com/alerta/angular-alerta-webui/archive/
v{{
alerta_ui_version
}}
.zip'
dest
:
'
/tmp'
remote_src
:
yes
-
name
:
"
Move
new
web
UI"
command
:
'
mv
/tmp/angular-alerta-webui-
master
/app
/var/www/alerta'
command
:
'
mv
/tmp/angular-alerta-webui-
{{
alerta_ui_version
}}
/app
/var/www/alerta'
-
name
:
"
Copy
wsgi.py"
template
:
...
...
@@ -67,8 +67,11 @@
-
name
:
"
Copy
config.js"
template
:
src
:
'
config.js'
dest
:
'
/var/www/alerta/config.js'
src
:
'
{{
item
}}'
dest
:
'
/var/www/alerta/{{
item
}}'
with_items
:
-
'
config.js'
-
'
config.json'
-
name
:
"
Copy
alertad.conf"
template
:
...
...
@@ -88,7 +91,7 @@
minute
:
'
{{
item.minute
}}'
job
:
'
{{
item.job
}}
>/dev/null
2>&1'
disabled
:
'
{{
crons_disabled|default(false)
}}'
items
:
with_
items
:
-
name
:
'
Heartbeats
to
Alert'
minute
:
'
*/3'
job
:
'
/usr/local/bin/alerta
heartbeats
--alert'
...
...
This diff is collapsed.
Click to expand it.
templates/alertad.conf
+
2
−
1
View file @
99643f70
BASE_URL
=
'/api'
BASE_URL
=
'
https://{{ alerta_domain }}
/api'
AUTH_REQUIRED
=
True
AUTH_PROVIDER
=
'gitlab'
SECRET_KEY
=
'{{ alerta_secret_key }}'
ADMIN_USERS
=[
'{{ alerta_admins|join("'
,
'") }}'
]
CUSTOMER_VIEWS
=
True
...
...
This diff is collapsed.
Click to expand it.
templates/config.json
0 → 100644
+
1
−
0
View file @
99643f70
{
"endpoint"
:
"https://{{ alerta_domain }}/api"
}
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