mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-04-05 21:51:57 +00:00
fix handler
This commit is contained in:
parent
45d907e336
commit
d29a686857
@ -5,4 +5,6 @@
|
|||||||
state: restarted
|
state: restarted
|
||||||
name: consul
|
name: consul
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
when: "not consul_setup.changed or not consul_enable_and_start.changed"
|
when:
|
||||||
|
- not consul_setup.changed
|
||||||
|
- not consul_enable_and_start.changed"
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
apt:
|
apt:
|
||||||
name: "{{ consul_package }}-{{ consul_version_build }}"
|
name: "{{ consul_package }}-{{ consul_version_build }}"
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
register: consul_update
|
register: consul_setup
|
||||||
notify: Restart consul
|
notify: Restart consul
|
||||||
when:
|
when:
|
||||||
- consul_package_name in ansible_facts.packages
|
- consul_package_name in ansible_facts.packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user