Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prometheus-alertmanager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible
roles
prometheus-alertmanager
Commits
6ae4efff
Verified
Commit
6ae4efff
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
fix linter
parent
338db46c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+9
-2
9 additions, 2 deletions
tasks/main.yml
with
9 additions
and
2 deletions
tasks/main.yml
+
9
−
2
View file @
6ae4efff
...
...
@@ -7,6 +7,9 @@
template
:
src
:
prometheus-alertmanager.j2
dest
:
/etc/default/prometheus-alertmanager
owner
:
root
group
:
root
mode
:
0644
-
name
:
write alertmanager config
notify
:
restart alertmanager
...
...
@@ -27,7 +30,8 @@
-
python3-dateutil
-
python3-gevent
-
python3-pip
-
pip
:
-
name
:
install pip dependencies for telegram bot
pip
:
name
:
python-telegram-bot
executable
:
pip3
-
name
:
deploy telegram bot
...
...
@@ -45,6 +49,7 @@
dest
:
/etc/systemd/system
owner
:
root
group
:
root
mode
:
0644
-
name
:
setup rocketchat bot
when
:
prometheus_alertmanager.rocketchatbot
...
...
@@ -56,7 +61,8 @@
-
python3-dateutil
-
python3-gevent
-
python3-pip
-
pip
:
-
name
:
install pip dependencies for rocketchat bot
pip
:
name
:
rocketchat_API
executable
:
pip3
-
name
:
deploy rocketchat bot
...
...
@@ -74,3 +80,4 @@
dest
:
/etc/systemd/system
owner
:
root
group
:
root
mode
:
0644
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