mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
ansible: remove unused file from prometheus role
This commit is contained in:
committed by
Dan Christian Bogos
parent
b1d4fd2a9c
commit
d7c8e78ffb
@@ -1,22 +0,0 @@
|
||||
---
|
||||
- name: Copy file (if not .j2)
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
src: '{{ file_src }}'
|
||||
dest: '{{ file_dest }}'
|
||||
owner: '{{ grafana_user }}'
|
||||
group: '{{ grafana_user }}'
|
||||
mode: '0644'
|
||||
when: not file_src.endswith('.j2')
|
||||
notify: Restart grafana
|
||||
|
||||
- name: Template file (if .j2)
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: '{{ file_src }}'
|
||||
dest: '{{ file_dest }}'
|
||||
owner: '{{ grafana_user }}'
|
||||
group: '{{ grafana_user }}'
|
||||
mode: '0644'
|
||||
when: file_src.endswith('.j2')
|
||||
notify: Restart grafana
|
||||
Reference in New Issue
Block a user