allow elasticsearch to readh the ca file

This commit is contained in:
Pablo Escobar 2020-05-23 00:18:10 +02:00
parent f43b885dc8
commit be973340ad

View File

@ -149,6 +149,8 @@
copy:
src: "{{ item }}"
dest: "{{ node_certs_destination }}/"
owner: root
group: elasticsearch
mode: 0440
with_items:
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
@ -164,6 +166,8 @@
copy:
src: "{{ item }}"
dest: "{{ node_certs_destination }}/"
owner: root
group: elasticsearch
mode: 0440
with_items:
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
@ -178,6 +182,8 @@
- name: Ensuring folder permissions
file:
path: "{{ node_certs_destination }}/"
owner: root
group: elasticsearch
mode: 0774
state: directory
recurse: no