1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 11:56:59 +02:00
ansible-collection-prometheus/roles/alertmanager/tasks/install.yml

14 lines
244 B
YAML
Raw Normal View History

2020-11-13 10:36:46 +01:00
---
- 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