From af4abdc50b9acaa8e0651be4b4e988a8f051c9f0 Mon Sep 17 00:00:00 2001 From: June Date: Thu, 5 Dec 2024 21:13:07 +0100 Subject: [PATCH] ensure all template files have a .j2 file extension As they should and as this is preparation for a future change reorganizing the file structure. --- inventories/chaosknoten/host_vars/grafana.yaml | 2 +- .../grafana/docker_compose/{grafana.ini => grafana.ini.j2} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/chaosknoten/configs/grafana/docker_compose/{grafana.ini => grafana.ini.j2} (100%) diff --git a/inventories/chaosknoten/host_vars/grafana.yaml b/inventories/chaosknoten/host_vars/grafana.yaml index 300bda6..944be68 100644 --- a/inventories/chaosknoten/host_vars/grafana.yaml +++ b/inventories/chaosknoten/host_vars/grafana.yaml @@ -1,7 +1,7 @@ docker_compose__compose_file_content: "{{ lookup('ansible.builtin.template', 'chaosknoten/configs/grafana/compose.yaml.j2') }}" docker_compose__configuration_files: - name: grafana.ini - content: "{{ lookup('ansible.builtin.template', 'templates/chaosknoten/configs/grafana/docker_compose/grafana.ini') }}" + content: "{{ lookup('ansible.builtin.template', 'templates/chaosknoten/configs/grafana/docker_compose/grafana.ini.j2') }}" - name: grafana-datasource.yml content: "{{ lookup('ansible.builtin.file', 'files/chaosknoten/configs/grafana/docker_compose/grafana-datasource.yml') }}" - name: prometheus.yml diff --git a/templates/chaosknoten/configs/grafana/docker_compose/grafana.ini b/templates/chaosknoten/configs/grafana/docker_compose/grafana.ini.j2 similarity index 100% rename from templates/chaosknoten/configs/grafana/docker_compose/grafana.ini rename to templates/chaosknoten/configs/grafana/docker_compose/grafana.ini.j2