From 3733134821bfe0761fb5fbc13d15f24db225c4d9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 20 Jan 2016 21:11:20 +0000 Subject: [PATCH] fetch is the problem. it's dest has to be a directory and cannot be a file. --- playbooks/manual/staging-sync/fas.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/playbooks/manual/staging-sync/fas.yml b/playbooks/manual/staging-sync/fas.yml index 37a3048437..d12254b1b8 100644 --- a/playbooks/manual/staging-sync/fas.yml +++ b/playbooks/manual/staging-sync/fas.yml @@ -32,6 +32,12 @@ tasks: - name: Dumping the production db. This might take a minute. Go out to the lobby! shell: pg_dump -C fas2 |xz -c > /var/tmp/fas2.dump.xz +# +# pull dump from prod to batcave +# + - fetch: + src: /var/tmp/fas2.dump.xz + dest: /var/tmp/ - name: drop and re-create the staging db entirely hosts: db-fas01.stg.phx2.fedoraproject.org @@ -49,13 +55,6 @@ tasks: # -# pull dump from prod to batcave -# - - fetch: - src: /var/tmp/fas2.dump.xz - dest: /var/tmp/fas2.dump.xz - delegate_to: db-fas01.phx2.fedoraproject.org -# # push dump to stg from batcave # - copy: