mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 03:52:09 +08:00
This has to be shell as we are using a | in it.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
tasks:
|
||||
- name: Dumping the production db. This might take a minute. Go out to the lobby!
|
||||
command: pg_dump -C fas2 |xz -c /var/tmp/fas2.dump.xz
|
||||
shell: pg_dump -C fas2 |xz -c /var/tmp/fas2.dump.xz
|
||||
|
||||
- name: drop and re-create the staging db entirely
|
||||
hosts: db-fas01.stg.phx2.fedoraproject.org
|
||||
|
||||
Reference in New Issue
Block a user