diff --git a/roles/openqa/dispatcher/tasks/main.yml b/roles/openqa/dispatcher/tasks/main.yml index 430fa4caa3..205f529c53 100644 --- a/roles/openqa/dispatcher/tasks/main.yml +++ b/roles/openqa/dispatcher/tasks/main.yml @@ -46,7 +46,6 @@ with_items: - python2-fedfind - python2-wikitcms - tags: - packages @@ -63,6 +62,14 @@ tags: - packages +- name: Install required packages (wiki oidc auth) + dnf: name={{ item }} state=present enablerepo="updates-testing" + with_items: + - python2-openidc-client + when: "wikitcms_token is defined" + tags: + - packages + - name: Check tools directory exists with correct ownership file: path=/root/fedora_openqa state=directory owner=root group=root diff --git a/roles/relvalconsumer/tasks/main.yml b/roles/relvalconsumer/tasks/main.yml index dad47017f8..84b9023a71 100644 --- a/roles/relvalconsumer/tasks/main.yml +++ b/roles/relvalconsumer/tasks/main.yml @@ -33,6 +33,14 @@ tags: - packages +- name: Install required packages (wiki oidc auth) + dnf: name={{ item }} state=present enablerepo="updates-testing" + with_items: + - python2-openidc-client + when: "wikitcms_token is defined" + tags: + - packages + # next two duplicated with openqa/dispatcher, but I kinda don't want to # move them up somewhere shared, I like the roles to be somewhat usable # outside of Fedora infra...