From 16a9aab13d73b4735248c54106dd9e3304168e30 Mon Sep 17 00:00:00 2001 From: rolatsch Date: Thu, 14 Dec 2023 15:39:46 +0100 Subject: [PATCH] remove superfluous curly brace (#246) --- roles/icinga2/tasks/features/api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/icinga2/tasks/features/api.yml b/roles/icinga2/tasks/features/api.yml index 6a34b451..0767de69 100644 --- a/roles/icinga2/tasks/features/api.yml +++ b/roles/icinga2/tasks/features/api.yml @@ -136,7 +136,7 @@ {% if icinga2_ca_host != 'none' %} --cert "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.crt" {% else %} --csr "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.csr" {%- endif %} - name: delegate ticket request to master - shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}{% if icinga2_ticket_salt is defined %} --salt {{ icinga2_ticket_salt }}{% endif %}}" + shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}{% if icinga2_ticket_salt is defined %} --salt {{ icinga2_ticket_salt }}{% endif %}" delegate_to: "{{ icinga2_delegate_host | default(icinga2_ca_host) }}" register: icinga2_ticket when: icinga2_ca_host != 'none'