Update the pagure upgrade playbook to make it up to date
This commit is contained in:
parent
01d25e6f95
commit
07d7e2e2d1
1 changed files with 8 additions and 5 deletions
|
@ -39,11 +39,6 @@
|
||||||
update_cache=yes
|
update_cache=yes
|
||||||
when: testing
|
when: testing
|
||||||
|
|
||||||
- name: Create new tables in the database
|
|
||||||
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
|
|
||||||
environment:
|
|
||||||
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
|
||||||
|
|
||||||
- name: Upgrade the database
|
- name: Upgrade the database
|
||||||
command: /usr/bin/alembic -c /etc/pagure/alembic.ini upgrade head
|
command: /usr/bin/alembic -c /etc/pagure/alembic.ini upgrade head
|
||||||
args:
|
args:
|
||||||
|
@ -51,12 +46,20 @@
|
||||||
environment:
|
environment:
|
||||||
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
||||||
|
|
||||||
|
- name: call createdb
|
||||||
|
command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py
|
||||||
|
environment:
|
||||||
|
PAGURE_CONFIG: /etc/pagure/pagure.cfg
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- service: name="httpd" state=restarted
|
- service: name="httpd" state=restarted
|
||||||
- service: name="pagure_ev" state=restarted
|
- service: name="pagure_ev" state=restarted
|
||||||
- service: name="pagure_ci" state=restarted
|
- service: name="pagure_ci" state=restarted
|
||||||
- service: name="pagure_webhook" state=restarted
|
- service: name="pagure_webhook" state=restarted
|
||||||
- service: name="pagure_milter" state=restarted
|
- service: name="pagure_milter" state=restarted
|
||||||
|
- service: name="pagure_worker" state=restarted
|
||||||
|
- service: name="pagure_logcom" state=restarted
|
||||||
|
- service: name="pagure_loadjson" state=restarted
|
||||||
- name: tell nagios to unshush w.r.t. the frontend
|
- name: tell nagios to unshush w.r.t. the frontend
|
||||||
nagios:
|
nagios:
|
||||||
action=unsilence
|
action=unsilence
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue