--- - name : SUPERVISION install master service (Prometheus) package: pkg: prometheus state: present - name : SUPERVISION install alert service (alertmanager) package: pkg: prometheus-alertmanager state: present - name: SUPERVISION Configuration template: src: prometheus.yml.j2 dest: /etc/prometheus/prometheus.yml owner: root group: root mode: 0644 notify: restart Prometheus - name: SUPERVISION Configuration template: src: alertmanager.yml.j2 dest: /etc/prometheus/alertmanager.yml owner: root group: root mode: 0644 notify: restart Alertmanager