add data-dir creation

This commit is contained in:
vincent 2022-03-10 11:33:53 +01:00
parent a8055a8ae7
commit b0636431e2

View File

@ -11,6 +11,13 @@
name: "{{ consul_os_package }}" name: "{{ consul_os_package }}"
state: present state: present
- name: encure data dir exist
file:
state: directory
owner: consul
path: "{{ consul_data_dir }}"
mode: 644
- name: apply config template - name: apply config template
block: block:
- name: server template - name: server template