change right
This commit is contained in:
parent
b0636431e2
commit
904a6bb6d8
@ -16,7 +16,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: consul
|
owner: consul
|
||||||
path: "{{ consul_data_dir }}"
|
path: "{{ consul_data_dir }}"
|
||||||
mode: 644
|
mode: 0755
|
||||||
|
|
||||||
- name: apply config template
|
- name: apply config template
|
||||||
block:
|
block:
|
||||||
@ -25,8 +25,7 @@
|
|||||||
src: config.hcl.j2
|
src: config.hcl.j2
|
||||||
dest: /etc/consul.d/config.hcl
|
dest: /etc/consul.d/config.hcl
|
||||||
owner: consul
|
owner: consul
|
||||||
mode: 644
|
mode: 0644
|
||||||
|
|
||||||
- name: ensure service is started
|
- name: ensure service is started
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ consul_service_name }}"
|
name: "{{ consul_service_name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user