Fix conditions error on ES, Kibana and Filebeat
This commit is contained in:
parent
2c14392e74
commit
72894d4a25
@ -104,7 +104,6 @@
|
|||||||
shell: "/usr/share/elasticsearch/bin/elasticsearch-certutil cert ca --pem --in {{node_certs_source}}/instances.yml --out {{node_certs_source}}/certs.zip"
|
shell: "/usr/share/elasticsearch/bin/elasticsearch-certutil cert ca --pem --in {{node_certs_source}}/instances.yml --out {{node_certs_source}}/certs.zip"
|
||||||
when:
|
when:
|
||||||
- node_certs_generator
|
- node_certs_generator
|
||||||
- instances_file_exists.stat.exists
|
|
||||||
- elasticsearch_xpack_security
|
- elasticsearch_xpack_security
|
||||||
- not xpack_certs_zip.stat.exists
|
- not xpack_certs_zip.stat.exists
|
||||||
- not certificate_file_exists.stat.exists
|
- not certificate_file_exists.stat.exists
|
||||||
@ -165,12 +164,14 @@
|
|||||||
shell: "chown -R elasticsearch: {{node_certs_destination}}/"
|
shell: "chown -R elasticsearch: {{node_certs_destination}}/"
|
||||||
when:
|
when:
|
||||||
- check_certs_permissions is defined
|
- check_certs_permissions is defined
|
||||||
|
- elasticsearch_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
- name: Ensuring certificates folder owner
|
- name: Ensuring certificates folder owner
|
||||||
shell: "chmod -R 770 {{node_certs_destination}}/"
|
shell: "chmod -R 770 {{node_certs_destination}}/"
|
||||||
when:
|
when:
|
||||||
- check_certs_permissions is defined
|
- check_certs_permissions is defined
|
||||||
|
- elasticsearch_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -63,12 +63,14 @@
|
|||||||
shell: "chown -R kibana: {{node_certs_destination}}/"
|
shell: "chown -R kibana: {{node_certs_destination}}/"
|
||||||
when:
|
when:
|
||||||
- check_certs_permissions is defined
|
- check_certs_permissions is defined
|
||||||
|
- kibana_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
- name: Ensuring certificates folder owner
|
- name: Ensuring certificates folder owner
|
||||||
shell: "chmod -R 770 {{node_certs_destination}}/"
|
shell: "chmod -R 770 {{node_certs_destination}}/"
|
||||||
when:
|
when:
|
||||||
- check_certs_permissions is defined
|
- check_certs_permissions is defined
|
||||||
|
- kibana_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
- name: Kibana configuration
|
- name: Kibana configuration
|
||||||
|
|||||||
@ -61,6 +61,7 @@
|
|||||||
shell: "chmod -R 770 {{node_certs_destination}}/"
|
shell: "chmod -R 770 {{node_certs_destination}}/"
|
||||||
when:
|
when:
|
||||||
- check_certs_permissions is defined
|
- check_certs_permissions is defined
|
||||||
|
- filebeat_xpack_security
|
||||||
tags: xpack-security
|
tags: xpack-security
|
||||||
|
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user