watch config to reload service
This commit is contained in:
Родитель
ad6a2e119e
Коммит
864d109b52
|
@ -3,12 +3,16 @@
|
||||||
|
|
||||||
{% from "kafka/map.jinja" import kafka with context %}
|
{% from "kafka/map.jinja" import kafka with context %}
|
||||||
|
|
||||||
|
include:
|
||||||
|
- kafka.config
|
||||||
|
|
||||||
kafka-name:
|
kafka-name:
|
||||||
service.running:
|
service.running:
|
||||||
- name: {{ kafka.service.name }}
|
- name: {{ kafka.service.name }}
|
||||||
- enable: True
|
- enable: True
|
||||||
- watch:
|
- watch:
|
||||||
- archive: kafka-tarball
|
- archive: kafka-tarball
|
||||||
|
- file: kafka-config
|
||||||
- file: kafka-systemd
|
- file: kafka-systemd
|
||||||
- file: kafka-systemv
|
- file: kafka-systemv
|
||||||
- file: kafka-upstart
|
- file: kafka-upstart
|
||||||
|
|
Загрузка…
Ссылка в новой задаче