ansible-collection-prometheus/roles/prometheus/tasks/main.yml
gardar 2c075e3b15
fix(lint): warning lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00

33 lines
637 B
YAML

---
- name: Preflight
ansible.builtin.include_tasks: preflight.yml
tags:
- prometheus_configure
- prometheus_install
- prometheus_run
- name: Install
ansible.builtin.include_tasks:
file: install.yml
apply:
become: true
tags:
- prometheus_install
- name: Configure
ansible.builtin.include_tasks:
file: configure.yml
apply:
become: true
tags:
- prometheus_configure
- name: Ensure prometheus service is started and enabled
become: true
ansible.builtin.systemd:
daemon_reload: true
name: prometheus
state: started
enabled: true
tags:
- prometheus_run