From 054bc753ac5bc89b751ecd5d3bd9128639f50ea8 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 30 Nov 2024 10:58:05 -0800 Subject: [PATCH] openshift: try and fix an error caused by yamllint cleanup It looks like these #jinja2 comments don't work with a space between the # and the jinja2, or something. I'm getting errors on this template when trying to run an openshift playbook ATM. Signed-off-by: Adam Williamson --- roles/openshift/project/templates/prometheusRules.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift/project/templates/prometheusRules.yml b/roles/openshift/project/templates/prometheusRules.yml index 67be7d7dc5..33ab34bab1 100644 --- a/roles/openshift/project/templates/prometheusRules.yml +++ b/roles/openshift/project/templates/prometheusRules.yml @@ -1,4 +1,5 @@ -# jinja2:variable_start_string:'@@',variable_end_string:'@@' +# yamllint disable-line rule:comments +#jinja2:variable_start_string:'@@',variable_end_string:'@@' --- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule