Skip to content

Commit

Permalink
Fix sneaky bug in default filter for icinga2_ca_host
Browse files Browse the repository at this point in the history
 - Thanks to @lbetz
  • Loading branch information
martialblog committed Sep 28, 2022
1 parent d035fdd commit 0812fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/icinga2/tasks/features/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
- name: delegate ticket request to master
shell: icinga2 pki ticket --cn "{{ icinga2_cert_name }}"
delegate_to: "{{ icinga2_delegate_host | default('icinga2_ca_host') }}"
delegate_to: "{{ icinga2_delegate_host | default(icinga2_ca_host) }}"
register: icinga2_ticket
when: icinga2_ca_host != 'none'

Expand Down

0 comments on commit 0812fbf

Please sign in to comment.