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
2bc47048
Commit
2bc47048
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting [skip-ci]
parent
b46f8c23
Branches
main
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
+2
-0
2 additions, 0 deletions
defaults/main.yml
handlers/main.yml
+2
-0
2 additions, 0 deletions
handlers/main.yml
tasks/alerta.yml
+1
-1
1 addition, 1 deletion
tasks/alerta.yml
tasks/main.yml
+6
-6
6 additions, 6 deletions
tasks/main.yml
with
11 additions
and
7 deletions
defaults/main.yml
+
2
−
0
View file @
2bc47048
---
alerta_ui_version
:
7.0.1
This diff is collapsed.
Click to expand it.
handlers/main.yml
+
2
−
0
View file @
2bc47048
---
-
name
:
Restart uwsgi
service
:
name
:
uwsgi
...
...
This diff is collapsed.
Click to expand it.
tasks/alerta.yml
+
1
−
1
View file @
2bc47048
...
...
@@ -102,7 +102,7 @@
disabled
:
'
{{
crons_disabled|default(false)
}}'
with_items
:
-
name
:
Heartbeats to Alert
minute
:
*
/3
minute
:
'
*/3
'
job
:
/usr/local/bin/alerta heartbeats --alert
-
name
:
Alerta Housekeeping
minute
:
0
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
6
−
6
View file @
2bc47048
...
...
@@ -13,12 +13,12 @@
-
block
:
-
import_tasks
:
alerta.yml
-
import_tasks
:
alerta.yml
-
name
:
Remember that this role had been run
set_fact
:
role_alerta_completed
:
yes
tags
:
-
always
-
name
:
Remember that this role had been run
set_fact
:
role_alerta_completed
:
yes
tags
:
-
always
when
:
not excluded_roles or "alerta" not in excluded_roles and role_alerta_completed is not defined
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