We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62fd937 commit 599b86dCopy full SHA for 599b86d
roles/icinga2/tasks/features/api.yml
@@ -136,7 +136,7 @@
136
{% if icinga2_ca_host != 'none' %} --cert "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.crt" {% else %} --csr "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.csr" {%- endif %}
137
138
- 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 %}"
+ shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}" {% if icinga2_ticket_salt is defined %} --salt "{{ icinga2_ticket_salt }}"{% endif %}
140
delegate_to: "{{ icinga2_delegate_host | default(icinga2_ca_host) }}"
141
register: icinga2_ticket
142
when: icinga2_ca_host != 'none'
0 commit comments