Not sure what you are using to extract your tarball but here is an excerpt 
from my role extracting a tarball after downloading it from the internet

- name: Downloading Apache APR sources
get_url:
url: "{{ apr_tarball_url }}"
dest: "/tmp/{{ apr_version }}.tar.gz"
register: apr_source
- debug:
var: apr_source

- name: Unpacking Apache APR
unarchive:
copy: no
dest: /tmp/
src: "{{ apr_source.dest }}"
when: apr_source.changed
register: apr_source_unpack
- debug:
var: apr_source_unpack

I am also registering some variables to check if the tarball has changed 
not sure how much use for you. 



On Wednesday, March 13, 2019 at 7:12:22 PM UTC-7, Sindhuja Koneru wrote:
>
> Hello,
>
> Can someone please help me here, not able to figure out why i am unable to 
> run restore.yml that is provided in the bundle.
>
> STEP 1:- I have run backup.yml and it successfully created a tar file.
> STEP 2:- Then I am trying to run restore.yml and have given the full path 
> of the file created from STEP1 (/location/Tarfilename.tar.gz) but it throws 
> following error.
>
> can someone please assist me?
>
> ASK [restore : Write SECRET_KEY into /etc/*****/] 
> ************************************************************
>
> changed: [tnode1.runitdif.bankofamerica.com]
>
> changed: [tnode3.XYZ.com <http://tnode3.xyz.com/>]
>
> changed: [tnode2.XYZ.com <http://tnode2.xyz.com/>]
>
>  
>
> TASK [restore : Dump the new Tower instance topology] 
> *********************************************************
>
> skipping: [tnode2.XYZ.com <http://tnode2.xyz.com/>]
>
> skipping: [tnode3.XYZ.com <http://tnode3.xyz.com/>]
>
> changed: [tnode1.XYZ.com <http://tnode1.xyz.com/>]
>
>  
>
> TASK [restore : Perform a PostgreSQL restore (external).]
>  *****************************************************
>
> skipping: [tnode2.XYZ.com <http://tnode2.xyz.com/>]
>
> skipping: [tnode3.XYZ.com <http://tnode3.xyz.com/>]
>
> fatal: [tnode1.XYZ.com <http://tnode1.xyz.com/>]: FAILED! => {"censored": 
> "the output has been hidden due to the fact that 'no_log: true' was 
> specified for this result", "changed": true}
>
> [tnode1.XYZ.com <http://tnode1.xyz.com/>] TASK: restore : Perform a 
> PostgreSQL restore (external). (debug)>
>
> [tnode1.XYZ.com <http://tnode1.xyz.com/>] TASK: restore : Perform a 
> PostgreSQL restore (external). (debug)>
>
> [tnode1.XYZ.com <http://tnode1.xyz.com/>] TASK: restore : Perform a 
> PostgreSQL restore (external). (debug)>
>
> [tnode1.XYZ.com <http://tnode1.xyz.com/>] TASK: restore : Perform a 
> PostgreSQL restore (external). (debug)>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6faabed8-5730-42f7-904d-fd0542325287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to