Skip to content

Commit

Permalink
Merge pull request #207 from atrestis/main
Browse files Browse the repository at this point in the history
Fixed typo in api.yml
  • Loading branch information
martialblog authored Nov 10, 2023
2 parents a63eb0d + 6e205ed commit bc995e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/fixed_typo_in_api_yml_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- Fixed typo in api.yml file (exits to exists)
8 changes: 4 additions & 4 deletions roles/icinga2/tasks/features/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@

- name: create new CA
block:
- name: check ca key already exits
- name: check ca key already exists
stat:
path: "{{ icinga2_ca_path }}/ca.key"
register: icinga2_ca_key_path

- name: check ca cert already exits
- name: check ca cert already exists
stat:
path: "{{ icinga2_ca_path }}/ca.crt"
register: icinga2_ca_cert_path
Expand All @@ -85,12 +85,12 @@
when: icinga2_ca_cert_path.stat.exists == false and icinga2_ca_key_path.stat.exists == false
when: icinga2_ca_host is defined and icinga2_ca_host == 'none'

- name: check cert key already exits
- name: check cert key already exists
stat:
path: "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.key"
register: icinga2_ssl_key_path

- name: check certificate already exits
- name: check certificate already exists
stat:
path: "{{ icinga2_cert_path }}/{{ icinga2_cert_name }}.crt"
register: icinga2_ssl_cert_path
Expand Down

0 comments on commit bc995e8

Please sign in to comment.