Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
4b8df631
Commit
4b8df631
authored
Apr 10, 2021
by
Kristian Klausen
🎉
Committed by
Jelle van der Waa
Apr 11, 2021
Browse files
prometheus: Make alertmanager.yml only readable by root and alertmanager
It contains secrets, so it shouldn't be world readable.
parent
062880cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/prometheus/tasks/main.yml
View file @
4b8df631
...
...
@@ -16,7 +16,7 @@
notify
:
reload prometheus
-
name
:
install alertmanager configuration
template
:
src=alertmanager.yml.j2 dest=/etc/alertmanager/alertmanager.yml owner=root group=
root
mode=64
4
template
:
src=alertmanager.yml.j2 dest=/etc/alertmanager/alertmanager.yml owner=root group=
alertmanager
mode=64
0
notify
:
reload alertmanager
-
name
:
enable prometheus server service
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment