Clean useless files + Add loki and promtail

This commit is contained in:
Florian RICHER 2023-09-25 11:37:52 +02:00
parent fd9bd94d58
commit 488c240089
3 changed files with 25 additions and 15 deletions

View file

@ -5,12 +5,6 @@
path: metrics
state: directory
- name: Copy metrics conf
ansible.builtin.copy:
src: .
dest: metrics/
register: metrics_copy_files_results
- name: Copy template conf
ansible.builtin.template:
src: "{{ item.src }}"
@ -24,5 +18,5 @@
project_src: metrics
state: present
pull: true
restarted: "{{ metrics_copy_files_results.changed or metrics_copy_templates_results.changed }}"
restarted: "{{ metrics_copy_templates_results.changed }}"
become: true