We're unlikely to want to run the extra steps to do the test all the time,
and it would complicate the module considerably, I'd accept  a PR to add a
hint to the unarchive module though.




On Tue, Jun 17, 2014 at 3:29 AM, Leibo <[email protected]> wrote:

>
> Just encountered this on a HP-UX server...
>
> ansible -i inventory/test_hosts rx2600-hpux11iv3-x64 -u root -m shell -a
> "which tar"
>
> rx2600-hpux11iv3-x64 | success | rc=0 >>
> /usr/bin/tar
>
> I suppose it would be nice to test the detected tar command flags, if we
> detect a 'z' option, use it, if not - do this in 2 steps - uncomress and
> unarchive
>
> # ansible -i inventory/test_hosts rx2600-hpux11iv3-x64 -u root -m shell -a
> "tar z"
> xavi-rx2600-hpux11iv3-x64 | FAILED | rc=1 >>
> *tar: z: unknown option*
>
> And failover to a 2 step solution.
>
>
>
> On Sunday, January 19, 2014 3:27:22 AM UTC+2, Brian Coca wrote:
>>
>> So it seems the big issue is having the compression support in tar (as
>> GNU tar has), for other implementations we would need to always call the
>> decompression program (gzip, etc).
>>
>  --
> 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/f6f28733-af68-412b-9ca4-1e9085eac1dd%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f6f28733-af68-412b-9ca4-1e9085eac1dd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgwaPdVR4N12dhG%2BG1byjWhFA%3DwN7heZ1LU1hmFGyDvJ8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to