mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-07-27 07:01:49 +00:00
fix handler
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user