Verified Commit 6496046c authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Reload when templates changes

parent 47722939
......@@ -9,6 +9,9 @@ arch_groups:
- docker-image-sudo
arch_users:
alertmanager:
name: ""
groups: []
aaron:
name: "Aaron Griffin"
ssh_key: aaron.pub
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment