fix additional package directive in buildmaster to work on <= f21
This commit is contained in:
parent
f081a1cf72
commit
f97176b6e3
1 changed files with 9 additions and 3 deletions
|
@ -17,9 +17,15 @@
|
|||
- python-psycopg2
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: ensure packages required for buildmaster are installed
|
||||
action: dnf name={{ item }} state=latest
|
||||
when: deployment_type == 'qadevel-prod' or deployment_type == 'qa-stg'
|
||||
- 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')
|
||||
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')
|
||||
with_items:
|
||||
- python-novaclient
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue