deploy fails if controller does not have tunnel_interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
similar to https:/
if one uses in ml2_conf.ini.j2
% if inventory_hostname in groups["network"] or inventory_hostname in groups["compute"] %}
local_ip = {{ tunnel_
{% endif %}
Ansible objects with
Host: 10.196.244.201, Task: neutron : Copying over ml2_conf.ini, Status:
failed, Message: {{ hostvars[
tunnel_
'ipv4'
But if I put
% if inventory_hostname in groups["network"] or inventory_hostname in groups["compute"] %}
local_ip = {{ hostvars[
tunnel_
{% endif %}
it works great, controllers don't get local_ip, but computes/network nodes do.
My ansible version is 2.3.1.0
looks like all.yml variable evaluation happens before switch statement in template