Skip to content

Commit 599b86d

Browse files
fl0wxmkayontour
authored andcommitted
added missing quotes to ticket delegation
1 parent 62fd937 commit 599b86d

File tree

1 file changed

+1
-1
lines changed
  • roles/icinga2/tasks/features

1 file changed

+1
-1
lines changed

roles/icinga2/tasks/features/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
{% if icinga2_ca_host != 'none' %} --cert "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.crt" {% else %} --csr "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.csr" {%- endif %}
137137
138138
- name: delegate ticket request to master
139-
shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}{% if icinga2_ticket_salt is defined %} --salt {{ icinga2_ticket_salt }}{% endif %}"
139+
shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}" {% if icinga2_ticket_salt is defined %} --salt "{{ icinga2_ticket_salt }}"{% endif %}
140140
delegate_to: "{{ icinga2_delegate_host | default(icinga2_ca_host) }}"
141141
register: icinga2_ticket
142142
when: icinga2_ca_host != 'none'

0 commit comments

Comments
 (0)