Fix bool evaluation for dedicated repl network
The | bool was forcing the second var to be a "bool" meaning the statement always evaluated to true. This fixes the issue and ensures that when the addresses are the same the "swift_dedicated_replication" setting evaluates to "False", and when they are different it evaluates to "True". Change-Id: Ic0aedbd1a5a5faafd0a1191b50ade90d46503057
This commit is contained in:
parent
768b47ab29
commit
2a3b1840eb
@ -126,6 +126,6 @@
|
||||
|
||||
- name: Set swift_dedicated_replication network if storage and replication addresses differ
|
||||
set_fact:
|
||||
swift_dedicated_replication: "{{ swift_storage_address != swift_replication_address | bool }}"
|
||||
swift_dedicated_replication: "{{ swift_storage_address != swift_replication_address }}"
|
||||
tags:
|
||||
- always
|
||||
|
Loading…
Reference in New Issue
Block a user