Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
infrastructure
Commits
6496046c
Verified
Commit
6496046c
authored
Jul 13, 2020
by
Jelle van der Waa
🚧
Browse files
Reload when templates changes
parent
47722939
Changes
2
Hide whitespace changes
Inline
Side-by-side
group_vars/all/archusers.yml
View file @
6496046c
...
...
@@ -9,6 +9,9 @@ arch_groups:
-
docker-image-sudo
arch_users
:
alertmanager
:
name
:
"
"
groups
:
[]
aaron
:
name
:
"
Aaron
Griffin"
ssh_key
:
aaron.pub
...
...
roles/prometheus-server/tasks/main.yml
View file @
6496046c
...
...
@@ -5,9 +5,15 @@
-
name
:
install prometheus configuration
template
:
src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml owner=root group=root mode=644
notify
:
reload prometheus
-
name
:
install prometheus alert configuration
copy
:
src=node.rules.yml dest=/etc/prometheus/node.rules.yml owner=root group=root mode=644
notify
:
reload prometheus
-
name
:
install alertmanager configuration
template
:
src=alertmanager.yml.j2 dest=/etc/alertmanager/alertmanager.yml owner=root group=root mode=644
notify
:
reload alertmanager
-
name
:
make nginx log dir
file
:
path=/var/log/nginx/{{ monitoring_domain }} state=directory owner=root group=root mode=0755
...
...
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