copr-frontend: reeanble alembic upgrade head
This commit is contained in:
parent
ab455cd57d
commit
8c816c031e
1 changed files with 8 additions and 6 deletions
|
@ -21,6 +21,7 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
# we install python-alembic because https://bugzilla.redhat.com/show_bug.cgi?id=1536058
|
||||||
- name: install additional pkgs for copr-frontend
|
- name: install additional pkgs for copr-frontend
|
||||||
dnf: state=present pkg={{ item }}
|
dnf: state=present pkg={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
- "mod_ssl"
|
- "mod_ssl"
|
||||||
- redis
|
- redis
|
||||||
- pxz
|
- pxz
|
||||||
|
- python-alembic
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
@ -60,12 +62,12 @@
|
||||||
|
|
||||||
- import_tasks: "psql_setup.yml"
|
- import_tasks: "psql_setup.yml"
|
||||||
|
|
||||||
#- name: upgrade db to head
|
- name: upgrade db to head
|
||||||
# command: alembic upgrade head
|
command: alembic upgrade head
|
||||||
# become: yes
|
become: yes
|
||||||
# become_user: copr-fe
|
become_user: copr-fe
|
||||||
# args:
|
args:
|
||||||
# chdir: /usr/share/copr/coprs_frontend/
|
chdir: /usr/share/copr/coprs_frontend/
|
||||||
|
|
||||||
- name: set up admins
|
- name: set up admins
|
||||||
command: ./manage.py alter_user --admin {{ item }}
|
command: ./manage.py alter_user --admin {{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue