fixing typo in conditional

This commit is contained in:
Tim Flink 2015-10-05 14:51:02 +00:00
parent f97176b6e3
commit d0aab39b1e

View file

@ -19,13 +19,13 @@
- name: ensure additional packages required for CI buildmaster are installed
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
when: ansible_distribution_majorVersion|int < 22 and (deployment_type == 'qadevel-prod' or deployment_type == 'qa-stg')
when: ansible_distribution_major_version|int < 22 and (deployment_type == 'qadevel-prod' or deployment_type == 'qa-stg')
with_items:
- python-novaclient
- name: ensure additional packages required for CI buildmaster are installed
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
when: ansible_distribution_majorVersion|int > 21 and (deployment_type == 'qadevel-prod' or deployment_type == 'qa-stg')
when: ansible_distribution_major_version|int > 21 and (deployment_type == 'qadevel-prod' or deployment_type == 'qa-stg')
with_items:
- python-novaclient