wikitcms: ensure openidc-client is available for token auth
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d3356663d8
commit
aa6a0c7071
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue