Skip to content
Snippets Groups Projects
Commit 6804a5a6 authored by Raimund Hook's avatar Raimund Hook
Browse files

Ansible flush_handlers ignores conditional clauses

The flush_handlers clause doesn't honour conditional clauses.
Instead, it prints a warning and runs anyway:
[WARNING]: flush_handlers task does not support when conditional

See: https://github.com/ansible/ansible/pull/41126

TrivialFix

Change-Id: Iaf70c2e932ae6dfb723bdb2ba658acdbfe74ebe2
parent 0d5ccfef
No related branches found
No related tags found
No related merge requests found
......@@ -11,12 +11,5 @@
name: "keepalived"
when: kolla_internal_vip_address not in secondary_addresses
# Upgrading master keepalived and haproxy
- name: Flush handlers
meta: flush_handlers
when: kolla_internal_vip_address in secondary_addresses
# Upgrading slave keepalived and haproxy
- name: Flush handlers
meta: flush_handlers
when: kolla_internal_vip_address not in secondary_addresses
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment