Skip to content

Commit 5eedd16

Browse files
committed
Fix controler typo
1 parent 0442935 commit 5eedd16

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

roles/elasticsearch/tasks/elasticsearch-security.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@
7272
state: absent
7373
when: elasticsearch_move_ca_directory.changed
7474

75-
- name: Check the existance of ca on Ansible controler
75+
- name: Check the existance of ca on Ansible controller
7676
ansible.builtin.stat:
7777
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/ca.crt"
7878
register: elasticsearch_check_temporary_ca
7979
delegate_to: localhost
8080
become: false
8181

82-
- name: Move temporary ca file on Ansible controler
82+
- name: Move temporary ca file on Ansible controller
8383
ansible.builtin.copy:
8484
src: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/ca.crt"
8585
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/ca.crt_{{ ansible_date_time.iso8601_micro }}"
@@ -89,7 +89,7 @@
8989
become: false
9090
register: elasticsearch_move_ca_file
9191

92-
- name: Remove temporary ca file on Ansible controler
92+
- name: Remove temporary ca file on Ansible controller
9393
ansible.builtin.file:
9494
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/ca.crt"
9595
state: absent
@@ -187,20 +187,20 @@
187187
- renew_es_cert
188188
- renew_ca
189189
block:
190-
- name: Check the existance of cert on Ansible controler
190+
- name: Check the existance of cert on Ansible controller
191191
ansible.builtin.stat:
192192
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}.p12"
193193
register: elasticsearch_check_temporary_cert
194194

195-
- name: Move temporary cert on Ansible controler
195+
- name: Move temporary cert on Ansible controller
196196
ansible.builtin.copy:
197197
src: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}.p12"
198198
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}.p12_{{ ansible_date_time.iso8601_micro }}"
199199
mode: preserve
200200
when: elasticsearch_check_temporary_cert.stat.exists
201201
register: elasticsearch_move_cert_file
202202

203-
- name: Remove temporary cert on Ansible controler
203+
- name: Remove temporary cert on Ansible controller
204204
ansible.builtin.file:
205205
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}.p12"
206206
state: absent

roles/logstash/tasks/logstash-security.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -108,51 +108,51 @@
108108
state: absent
109109
when: logstash_move_cert_zip_file_ca_host.changed
110110

111-
- name: Backup logstash cert on Ansible controler then remove
111+
- name: Backup logstash cert on Ansible controller then remove
112112
when: "'renew_logstash_cert' in ansible_run_tags or 'renew_ca' in ansible_run_tags"
113113
delegate_to: localhost
114114
tags:
115115
- renew_ca
116116
- renew_logstash_cert
117117
- never
118118
block:
119-
- name: Check the existance of cert on Ansible controler
119+
- name: Check the existance of cert on Ansible controller
120120
ansible.builtin.stat:
121121
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.p12"
122-
register: logstash_check_temporary_cert_ansible_controler
122+
register: logstash_check_temporary_cert_ansible_controller
123123

124-
- name: Move temporary cert file on Ansible controler
124+
- name: Move temporary cert file on Ansible controller
125125
ansible.builtin.copy:
126126
src: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.p12"
127127
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.p12_{{ ansible_date_time.iso8601_micro }}"
128128
mode: preserve
129-
when: logstash_check_temporary_cert_ansible_controler.stat.exists
130-
register: logstash_move_cert_file_ansible_controler
129+
when: logstash_check_temporary_cert_ansible_controller.stat.exists
130+
register: logstash_move_cert_file_ansible_controller
131131

132-
- name: Remove temporary cert file on Ansible controler
132+
- name: Remove temporary cert file on Ansible controller
133133
ansible.builtin.file:
134134
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.p12"
135135
state: absent
136-
when: logstash_move_cert_file_ansible_controler.changed
136+
when: logstash_move_cert_file_ansible_controller.changed
137137

138-
- name: Check the existance of cert zip file on Ansible controler
138+
- name: Check the existance of cert zip file on Ansible controller
139139
ansible.builtin.stat:
140140
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.zip"
141-
register: logstash_check_temporary_cert_zip_ansible_controler
141+
register: logstash_check_temporary_cert_zip_ansible_controller
142142

143-
- name: Move temporary cert zip file on Ansible controler
143+
- name: Move temporary cert zip file on Ansible controller
144144
ansible.builtin.copy:
145145
src: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.zip"
146146
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.zip_{{ ansible_date_time.iso8601_micro }}"
147147
mode: preserve
148-
when: logstash_check_temporary_cert_zip_ansible_controler.stat.exists
149-
register: logstash_move_cert_zip_ansible_controler
148+
when: logstash_check_temporary_cert_zip_ansible_controller.stat.exists
149+
register: logstash_move_cert_zip_ansible_controller
150150

151-
- name: Remove temporary cert zip file on Ansible controler
151+
- name: Remove temporary cert zip file on Ansible controller
152152
ansible.builtin.file:
153153
path: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.zip"
154154
state: absent
155-
when: logstash_move_cert_zip_ansible_controler.changed
155+
when: logstash_move_cert_zip_ansible_controller.changed
156156

157157
- name: Create individual certificates for Logstash
158158
ansible.builtin.command: >
@@ -174,7 +174,7 @@
174174
- renew_ca
175175
- renew_logstash_cert
176176

177-
- name: Fetch certificate from ca host to Ansible controler
177+
- name: Fetch certificate from ca host to Ansible controller
178178
ansible.builtin.fetch:
179179
src: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.p12"
180180
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.p12"
@@ -244,7 +244,7 @@
244244
- renew_ca
245245
- renew_logstash_cert
246246

247-
- name: Fetch PEM certificate from ca host to Ansible controler
247+
- name: Fetch PEM certificate from ca host to Ansible controller
248248
ansible.builtin.fetch:
249249
src: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.zip"
250250
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-ls.zip"
@@ -324,7 +324,7 @@
324324
- renew_ca
325325
- renew_logstash_cert
326326

327-
- name: Fetch ca certificate from ca host to Ansible controler
327+
- name: Fetch ca certificate from ca host to Ansible controller
328328
ansible.builtin.fetch:
329329
src: "{{ elasticstack_ca_dir }}/ca.crt"
330330
dest: "{{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/ca.crt"

0 commit comments

Comments
 (0)