Use on instead of true for ddl_locking and dont rm the dump.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
4ce585e944
commit
a1ceb9f28b
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
- shell: >
|
||||
psql bodhi2 <<< "
|
||||
BEGIN;
|
||||
SET LOCAL bdr.permit_ddl_locking = true;
|
||||
SET LOCAL bdr.permit_ddl_locking = on;
|
||||
DELETE FROM alembic_version;
|
||||
DROP TABLE comments CASCADE;
|
||||
DROP TABLE groups CASCADE;
|
||||
|
@ -74,7 +74,7 @@
|
|||
"
|
||||
- name: Import the prod db.
|
||||
shell: cat /var/tmp/bodhi2.dump | psql bodhi2
|
||||
- file: dest=/var/tmp/bodhi2.dump state=absent
|
||||
#- file: dest=/var/tmp/bodhi2.dump state=absent
|
||||
|
||||
- name: bring staging services up (httpd)
|
||||
hosts: bodhi2-stg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue