Add verification to ensure ca folder is created

This commit is contained in:
Jose M 2019-08-05 15:04:05 +02:00
parent 4b8303ece2
commit c547e90502

View File

@ -73,6 +73,14 @@
- not generate_CA - not generate_CA
tags: xpack-security tags: xpack-security
- name: Verify the Elastic certificates directory
file:
path: "{{ master_certs_destination }}"
state: directory
mode: '0700'
delegate_to: "127.0.0.1"
when:
- node_certs_generator
- name: Create the certificates directory - name: Create the certificates directory
file: file:
path: "{{master_certs_destination}}" path: "{{master_certs_destination}}"