Seems that list_files=true and {{ unarchived.files[0] }} alway returns 
folder in this case

Dne pondělí 30. ledna 2017 11:10:31 UTC+1 mhh napsal(a):
>
> Hello,
> I found, that is nearly impossible to make a symlink from compressed file, 
> without knowing of what is in this file.
> For example i want to do:
>
> -name Untar
> unarchive: src={{ my_tar_gz_file }} dest={{ dest }} 
>
> -name Make a symlink
>  file: src='{{ dest }}/ ????i_dont_know_whats_is_inside_tar_file?? ' 
> dest='{{ dest }}/my_sim_link' state=link
>
> In this compress file can be a file, or folder. Lets assumption, that 
> evertime is folder there. But everytime has a another name, for example 
> build number.
> Is this posible to solve it without command: and shell: module? in 
> idepotend style? Of course that unarchive has a parm creates, but it does 
> not work in this case
> Thanks
>

-- 
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/01b67d7e-9c25-4709-bb5f-411241e85a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to