Subject should probably be "script module failing with ansible 1.6 on csh"
-- others should not panic :)

We've discussed this a bit and most likely we'll have to make an inventory
variable to disable the environment options for csh.





On Fri, May 9, 2014 at 2:04 PM, James Cammarata <[email protected]>wrote:

> Thanks, could you please open an issue on github for this issue so we can
> keep track of it?
>
>
> On Fri, May 9, 2014 at 12:47 PM, Ryan Schulze <[email protected]> wrote:
>
>> Hi,
>>
>> since the update to ansible 1.6 the script module has been failing with
>> "LC_CTYPE=en_US.UTF-8: Command not found." (which makes sense since it's
>> not valid syntax for the csh shell). I didn't see anything in the changelog
>> associated with the script module being changed.
>>
>> If I execute ansible with  -vvvv it shows:
>> <xxx.xxx.xxx.xxx> EXEC ['ssh', '-C', '-tt', '-vvv', '-o',
>> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o',
>> 'ControlPath=/home/ryan/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
>> 'StrictHostKeyChecking=no', '-o', 'Port=22', '-o',
>> 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=
>> gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o',
>> 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10',
>> 'xxx.xxx.xxx.xxx', u'LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
>> /root/.ansible/tmp/ansible-tmp-1399656169.24-178075505046716/install-freebsd-8_4.sh
>> ']
>>
>> I understand that in general modules would want to define the LANG and LC
>> settings so they can reliably parse output, but according to the
>> documentation script should perform like raw in that it just dumps the
>> script on the destination and executes it, there is not much to parse
>> except for the return code and output.
>> For now my only options are to either downgrade ansible or change my pxe
>> rescue boot environment to use a different shell that is "compatible" with
>> ansible.
>>
>>
>  --
> 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/CAMFyvFgGwmV2ScyMvbUqcpNuKBZPyR9YQPYyJyMqwjWt5C6AnA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAMFyvFgGwmV2ScyMvbUqcpNuKBZPyR9YQPYyJyMqwjWt5C6AnA%40mail.gmail.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%2BnsWgzpG4K8q9Pm00WDbv_g0CQ5PC9Jj2qAfW%3Dg2KBu0Jv%2BQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to