Add verification to ensure ca folder is created
This commit is contained in:
parent
4b8303ece2
commit
c547e90502
@ -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}}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user