From b018ca2b2a33a2ee12a126e591e764a607ca28fc Mon Sep 17 00:00:00 2001 From: s3lph Date: Sat, 6 Nov 2021 05:46:31 +0100 Subject: [PATCH] copy->template --- roles/prometheus/tasks/prometheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/prometheus/tasks/prometheus.yml b/roles/prometheus/tasks/prometheus.yml index 4980bf9..d88a8c1 100644 --- a/roles/prometheus/tasks/prometheus.yml +++ b/roles/prometheus/tasks/prometheus.yml @@ -13,7 +13,7 @@ notify: restart prometheus - name: render /etc/prometheus/alert_rules.yml - ansible.builtin.copy: + ansible.builtin.template: src: etc/prometheus/alert_rules.yml.j2 dest: /etc/prometheus/alert_rules.yml owner: root