Add alertmanager

This commit is contained in:
Jake Howard
2022-12-05 21:10:41 +00:00
parent 60514d191a
commit 3e5b00d176
6 changed files with 87 additions and 37 deletions

View File

@ -33,3 +33,12 @@
owner: "{{ docker_user.name }}"
notify: restart prometheus
become: true
- name: Install alertmanager config
template:
src: files/prometheus/alertmanager.yml
dest: /opt/prometheus/alertmanager.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
notify: restart prometheus
become: true