mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-22 17:51:01 +01:00
14 lines
244 B
YAML
14 lines
244 B
YAML
|
---
|
||
|
|
||
|
- name: install alertmanager
|
||
|
apt:
|
||
|
name: prometheus-alertmanager
|
||
|
state: present
|
||
|
update_cache: yes
|
||
|
|
||
|
- name: start and enable alertmanager
|
||
|
systemd:
|
||
|
name: prometheus-alertmanager.service
|
||
|
state: started
|
||
|
enabled: yes
|