Clean useless files + Add loki and promtail
This commit is contained in:
parent
fd9bd94d58
commit
488c240089
3 changed files with 25 additions and 15 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue