Add import to kibana
This commit is contained in:
parent
b2876d15e4
commit
7006f99209
@ -19,12 +19,27 @@
|
|||||||
src: "{{item}}"
|
src: "{{item}}"
|
||||||
dest: "{{node_certs_destination}}/"
|
dest: "{{node_certs_destination}}/"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{master_certs_destination}}/{{kibana_node_name}}/{{ kibana_node_name }}.key"
|
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.key"
|
||||||
- "{{master_certs_destination}}/{{kibana_node_name}}/{{ kibana_node_name }}.crt"
|
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.crt"
|
||||||
- "{{master_certs_destination}}/ca/ca.crt"
|
- "{{master_certs_path}}/ca/ca.crt"
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
when:
|
when:
|
||||||
- kibana_xpack_security
|
- kibana_xpack_security
|
||||||
|
- generate_CA
|
||||||
|
|
||||||
|
- name: Copying node's certificate from master (Custom CA)
|
||||||
|
copy:
|
||||||
|
src: "{{item}}"
|
||||||
|
dest: "{{node_certs_destination}}/"
|
||||||
|
mode: '0664'
|
||||||
|
with_items:
|
||||||
|
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.key"
|
||||||
|
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.crt"
|
||||||
|
- "{{master_certs_path}}/ca/{{ca_cert_name}}"
|
||||||
|
when:
|
||||||
|
- kibana_xpack_security
|
||||||
|
- not generate_CA
|
||||||
|
tags: xpack-security
|
||||||
|
|
||||||
- name: Ensuring certificates folder owner
|
- name: Ensuring certificates folder owner
|
||||||
file:
|
file:
|
||||||
@ -52,7 +67,7 @@
|
|||||||
dest: /etc/kibana/kibana.yml
|
dest: /etc/kibana/kibana.yml
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0664
|
mode: '0664'
|
||||||
notify: restart kibana
|
notify: restart kibana
|
||||||
tags: configure
|
tags: configure
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user