mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-04-05 13:41:56 +00:00
fix handler
This commit is contained in:
parent
45d907e336
commit
d29a686857
@ -5,4 +5,6 @@
|
||||
state: restarted
|
||||
name: consul
|
||||
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:
|
||||
name: "{{ consul_package }}-{{ consul_version_build }}"
|
||||
update_cache: yes
|
||||
register: consul_update
|
||||
register: consul_setup
|
||||
notify: Restart consul
|
||||
when:
|
||||
- consul_package_name in ansible_facts.packages
|
||||
|
Loading…
x
Reference in New Issue
Block a user