koji_hub: drop copying auth.py, new koji should have the needed code.

This commit is contained in:
Kevin Fenzi 2019-11-05 16:54:45 +00:00 committed by Pierre-Yves Chibon
parent cb2bc538cd
commit 5544af0c67

View file

@ -21,24 +21,24 @@
- packages
- koji_hub
- name: hotfix koji auth.py for looking up by krb principal
copy: src=auth.py
dest=/usr/lib/python2.7/site-packages/koji/auth.py
owner=root
group=root
mode=0644
tags:
- koji_hub
notify: reload httpd
- name: Remove python compiled files for auth.py
file: path=/usr/lib/python2.7/site-packages/koji/auth.{{item}} state=absent
with_items:
- pyc
- pyo
tags:
- koji_hub
notify: reload httpd
#- name: hotfix koji auth.py for looking up by krb principal
# copy: src=auth.py
# dest=/usr/lib/python2.7/site-packages/koji/auth.py
# owner=root
# group=root
# mode=0644
# tags:
# - koji_hub
# notify: reload httpd
#
#- name: Remove python compiled files for auth.py
# file: path=/usr/lib/python2.7/site-packages/koji/auth.{{item}} state=absent
# with_items:
# - pyc
# - pyo
# tags:
# - koji_hub
# notify: reload httpd
- name: make koji pki directory
file: state=directory path=/etc/pki/koji/ owner=root group=root