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

**URL:** <https://forum.ansible.com/t/fetch-module-fails-checksum-when-remote-users-shell-is-set-to-bin-tcsh/18197>\
**Category:** Ansible Project\
**Created:** [May 9, 2015, 12:25am UTC](https://forum.ansible.com/t/fetch-module-fails-checksum-when-remote-users-shell-is-set-to-bin-tcsh/18197 "2015-05-09T00:25:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cohen.ben](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Post date:** [May 9, 2015, 12:25am UTC](https://forum.ansible.com/t/fetch-module-fails-checksum-when-remote-users-shell-is-set-to-bin-tcsh/18197/1 "2015-05-09T00:25:40Z")

</div>

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:

[https://github.com/ansible/ansible-modules-core/issues/1297#event-300717455](https://github.com/ansible/ansible-modules-core/issues/1297#event-300717455)

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

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 9, 2015, 12:27am UTC](https://forum.ansible.com/t/fetch-module-fails-checksum-when-remote-users-shell-is-set-to-bin-tcsh/18197/2 "2015-05-09T00:27:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cohen.ben](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Post date:** [May 9, 2015, 12:41am UTC](https://forum.ansible.com/t/fetch-module-fails-checksum-when-remote-users-shell-is-set-to-bin-tcsh/18197/3 "2015-05-09T00:41:34Z")

</div>

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
