13 lines
251 B
YAML
13 lines
251 B
YAML
---
|
|
- name: reload consul
|
|
service:
|
|
name: "{{ consul_service_name }}"
|
|
state: reloaded
|
|
when: consul_service_enabled
|
|
|
|
- name: restart consul
|
|
service:
|
|
name: "{{ consul_service_name }}"
|
|
state: restarted
|
|
when: consul_service_enabled
|