Use version test instead of version_compare

This test was changed to 'version' in ansible 2.5 [1].

[1] https://docs.ansible.com/ansible/2.8/user_guide/playbooks_tests.html#version-comparison

Change-Id: Ib5f997b4e03ddd916bc34ef161263468d16403ee
This commit is contained in:
Jonathan Rosser 2019-09-09 17:39:25 +01:00
parent cc6ab5ebfa
commit 2cf36c8f3c

View File

@ -89,7 +89,7 @@
- neutron_os_type is defined
- neutron_os_type == 'powervm'
- neutron_plugin_type == 'ml2.ovs'
- "{{ ansible_distribution_version | version_compare('16.04','>=') }}"
- "{{ ansible_distribution_version is version('16.04','>') }}"
tags:
- neutron-config