EOX GitLab Instance

Skip to content
Snippets Groups Projects
all.yml 309 B
Newer Older
Karl Grube's avatar
Karl Grube committed
---

- name: prometheus installed
  package:
    name: prometheus
- name: prometheus started and enabled
  service:
    name: prometheus
    state: started
    enabled: yes
Karl Grube's avatar
Karl Grube committed
- name: promtheus template
  template:
    src: prometheus.yml.j2
    dest: /etc/prometheus/prometheus.yml
  notify: restart prometheus