fetch module fails checksum when remote user's shell is set to /bin/tcsh

53 views
Skip to first unread message

breatheoften

unread,
May 8, 2015, 8:25:41 PM5/8/15
to ansible...@googlegroups.com
I created an issue reporting what appears to me to be a bug in the fetch module -- the fetch module succeeds in grabbing the remote file and then always fails its checksum test if the remote user's login shell is set to /bin/tcsh -- but works when the remote user's login shell is set to /bin/bash.

I filed an issue along with simplified steps to reproduce:


The issue was closed (by a bot?) -- with a note pointing me at this list.

Is this a user issue or a bug?  I'm not seeing any documentation that implies that the remote_user's login shell needs to be bash ...  Is that a requirement of ansible?  This requirement is not described in the faq or any documentation that I find ...  I can't think of anything about my bug report that implies this is a user support issue.

The fetch module behavior is broken when the remote user's login shell is set to /bin/tcsh.  That seems an awful lot like a bug to me ...

I've been using ansible for awhile now -- usually the remote_user's login shell has always been bash -- but in some cases, some of these hosts have had their login shells changed and I can't necessarily immediately change them back to bash.  

Thanks,
Ben

Brian Coca

unread,
May 8, 2015, 8:27:25 PM5/8/15
to ansible...@googlegroups.com
hi, im the bot that closed the issue, in the response you might have
missed the answer:

set ansible_shell_type=csh group/host var for this host and
checksumming should work again. Different shell families need
different quoting.
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/09e25c17-b319-4e20-bd2a-597e4465b939%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca

Ben Cohen

unread,
May 8, 2015, 8:41:38 PM5/8/15
to ansible...@googlegroups.com
Ah ok, yeah I didn't see the above answer in the response on the issue ...  I'm surprised this isn't a faq.

Thanks,
Ben

Reply all
Reply to author
Forward
0 new messages