l3_agent should only appear in computes when dvr

When using ovs_dvr, the routing capabilities should be distributed across
computes and controller. However, because group_when is a list, the
condition was always true and l3_agent was always deployed in the computes.
This patch changes the type of group_when so that it gets properly evaluated

Change-Id: I39fc50ca25731e44801e4ee32b07c550489f2a39
This commit is contained in:
Manuel Buil 2018-02-06 16:21:59 +01:00
parent 8224fbcede
commit baceca8715

View File

@ -23,9 +23,7 @@
vars:
src_group: "nova_compute"
dest_group: "neutron_l3_agent, neutron_metadata_agent"
group_when:
- "neutron_plugin_type == 'ml2.ovs.dvr'"
group_when: "{{ neutron_plugin_type == 'ml2.ovs.dvr' }}"
- name: Prepare MQ/DB services