Add folder verification and fix linting

This commit is contained in:
Jose M 2019-08-05 15:04:27 +02:00
parent c547e90502
commit 101a006178

View File

@ -81,9 +81,10 @@
delegate_to: "127.0.0.1"
when:
- node_certs_generator
- name: Create the certificates directory
- name: Verify the Certificates Authority directory
file:
path: "{{master_certs_destination}}"
path: "{{ master_certs_destination }}/ca/"
state: directory
mode: '0700'
delegate_to: "127.0.0.1"