Skip to content

Commit

Permalink
Merge pull request #128 from Icinga/fix/bug-in-default-filter
Browse files Browse the repository at this point in the history
Fix sneaky bug in default filter for icinga2_ca_host
  • Loading branch information
martialblog authored Sep 29, 2022
2 parents 2177c97 + 1628ca9 commit 3eee7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/fix_ca_host_filter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- Fix bug in default filter for icinga2_ca_hos
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 3eee7c0

Please sign in to comment.