Fix playbooks for Ansible 2.9

The version_compare filter was renamed to version and changed to be a
test in 2.5. The old filter was removed in 2.9.

TrivialFix

Change-Id: Ib5d91b5fc53d0f6d16dd6eb38121cd9914e33d93
This commit is contained in:
Mark Goddard 2019-11-01 09:23:38 +00:00
parent 1932679987
commit 1f1f01f27f

View File

@ -228,7 +228,7 @@ neutron_agent_dimensions_python2:
hard: 16384 hard: 16384
neutron_agent_dimensions: >- neutron_agent_dimensions: >-
{{ default_container_dimensions | combine(neutron_agent_dimensions_python2 if distro_python_version | version_compare('3.0', '<') else {}) }} {{ default_container_dimensions | combine(neutron_agent_dimensions_python2 if distro_python_version is version('3.0', '<') else {}) }}
neutron_dhcp_agent_dimensions: "{{ neutron_agent_dimensions }}" neutron_dhcp_agent_dimensions: "{{ neutron_agent_dimensions }}"
neutron_l3_agent_dimensions: "{{ neutron_agent_dimensions }}" neutron_l3_agent_dimensions: "{{ neutron_agent_dimensions }}"