Watch init file
This commit is contained in:
parent
eccbdb91b1
commit
c365a30842
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ consul_init_script:
|
||||||
- name: /etc/init.d/consul
|
- name: /etc/init.d/consul
|
||||||
- mode: 0755
|
- mode: 0755
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if consul.service != False %}
|
||||||
|
- watch_in:
|
||||||
|
- service: consul
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
consul_config_dir:
|
consul_config_dir:
|
||||||
file.directory:
|
file.directory:
|
||||||
|
|
Loading…
Reference in a new issue