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