openqa/dispatcher: tweak package installs a bit more

Don't need u-t as much any more, switch to lists for the others.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-10-09 13:32:17 -07:00
parent 99a2f7dd01
commit 5dea458a23

View file

@ -41,31 +41,27 @@
# scheduler is no longer responsible for downloading assets.
# just keeping this around for convenience as we often need it
- name: Install required packages (testing)
dnf:
name: ['python2-fedfind', 'python2-wikitcms']
state: present
enablerepo: "updates-testing"
tags:
- packages
#- name: Install required packages (testing)
# dnf:
# name: ['python2-fedfind', 'python2-wikitcms']
# state: present
# enablerepo: "updates-testing"
# tags:
# - packages
- name: Install required packages
dnf: name={{ item }} state=present
with_items:
- python2-fedmsg-consumers
- python2-openqa_client
- python2-requests
- python2-resultsdb_api
- python2-resultsdb_conventions-fedora
- python-setuptools
- python-six
dnf:
name: ['python2-fedfind', 'python2-wikitcms', 'python2-fedmsg-consumers',
'python2-openqa_client', 'python2-requests', 'python2-resultsdb_api',
'python2-resultsdb_conventions-fedora', 'python2-setuptools', 'python-six']
state: present
tags:
- packages
- name: Install required packages (wiki oidc auth)
dnf: name={{ item }} state=present enablerepo="updates-testing"
with_items:
- python2-openidc-client
dnf:
name: python2-openidc-client
state: present
when: "wikitcms_token is defined"
tags:
- packages