mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-10-23 11:56:59 +02:00
13 lines
276 B
YAML
13 lines
276 B
YAML
---
|
|
|
|
- name: install alertmanager
|
|
ansible.builtin.apt:
|
|
name: prometheus-alertmanager
|
|
state: present
|
|
update_cache: yes
|
|
|
|
- name: start and enable alertmanager
|
|
ansible.builtin.systemd:
|
|
name: prometheus-alertmanager.service
|
|
state: started
|
|
enabled: yes
|