From 1f1f01f27f6d6e9baa9cb8474f33692e38c0eb49 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Fri, 1 Nov 2019 09:23:38 +0000 Subject: [PATCH] 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 --- ansible/roles/neutron/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/neutron/defaults/main.yml b/ansible/roles/neutron/defaults/main.yml index d64f033ce7..3f5833b409 100644 --- a/ansible/roles/neutron/defaults/main.yml +++ b/ansible/roles/neutron/defaults/main.yml @@ -228,7 +228,7 @@ neutron_agent_dimensions_python2: hard: 16384 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_l3_agent_dimensions: "{{ neutron_agent_dimensions }}"