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
|
||||
- mode: 0755
|
||||
{% endif %}
|
||||
{% if consul.service != False %}
|
||||
- watch_in:
|
||||
- service: consul
|
||||
{% endif %}
|
||||
|
||||
consul_config_dir:
|
||||
file.directory:
|
||||
|
|
Loading…
Reference in a new issue