diff --git a/playbooks/roles/bifrost-ironic-install/tasks/install.yml b/playbooks/roles/bifrost-ironic-install/tasks/install.yml index 867fbab86..1a4c05c7b 100644 --- a/playbooks/roles/bifrost-ironic-install/tasks/install.yml +++ b/playbooks/roles/bifrost-ironic-install/tasks/install.yml @@ -104,7 +104,7 @@ when: - skip_install is not defined - enable_venv | bool == false - - (ansible_distribution == 'CentOS' and ansible_distribution_major_version <= 7) or + - (ansible_distribution == 'CentOS' and ansible_distribution_major_version|version_compare('7', '<=')) or (ansible_distribution == 'Ubuntu' and ansible_distribution_version|version_compare('14.10', '==')) - name: "Install Ironic using pip"