mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 03:23:08 +08:00
Hotfix alembic for bodhi2/backend to use our forward-compat webob package on epel7.
This commit is contained in:
11
roles/bodhi2/backend/files/alembic
Normal file
11
roles/bodhi2/backend/files/alembic
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python2
|
||||
|
||||
# NOTE - we hotfix this with ansible so we can do alembic with a forward-compat
|
||||
# el7 package for webob. -- threebean
|
||||
|
||||
__requires__ = __main__.__requires__ = ['WebOb>=1.4.1', 'alembic']
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(load_entry_point('alembic', 'console_scripts', 'alembic')())
|
||||
@@ -32,6 +32,12 @@
|
||||
- packages
|
||||
- bodhi
|
||||
|
||||
- name: hotfix /usr/bin/alembic to use our webob forward compat package
|
||||
copy: src=alembic dest=/usr/bin/alembic
|
||||
tags:
|
||||
- hotfix
|
||||
- bodhi
|
||||
|
||||
- name: add masher group
|
||||
group: name=masher gid=751 system=yes state=present
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user