ansible-collection-prometheus/roles/prometheus/tasks/main.yml
Laurent Indermuehle f0973a0dbc
Add apply tags for all included tasks files
Signed-off-by: Laurent Indermuehle <laurent.indermuehle@epfl.ch>
2023-04-27 09:36:20 +02:00

43 lines
839 B
YAML

---
- name: Preflight
ansible.builtin.include_tasks:
file: preflight.yml
apply:
tags:
- prometheus_configure
- prometheus_install
- prometheus_run
tags:
- prometheus_configure
- prometheus_install
- prometheus_run
- name: Install
ansible.builtin.include_tasks:
file: install.yml
apply:
become: true
tags:
- prometheus_install
tags:
- prometheus_install
- name: Configure
ansible.builtin.include_tasks:
file: configure.yml
apply:
become: true
tags:
- prometheus_configure
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