# Ansible 1.5.3 not running ruby scripts

**URL:** <https://forum.ansible.com/t/ansible-1-5-3-not-running-ruby-scripts/14976>\
**Category:** Ansible Project\
**Created:** [April 9, 2014, 9:34am UTC](https://forum.ansible.com/t/ansible-1-5-3-not-running-ruby-scripts/14976 "2014-04-09T09:34:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Raithatha](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Ramesh\_Raithatha](https://forum.ansible.com/u/Ramesh_Raithatha)\
**Post date:** [April 9, 2014, 9:34am UTC](https://forum.ansible.com/t/ansible-1-5-3-not-running-ruby-scripts/14976/1 "2014-04-09T09:34:34Z")

</div>

Hello,

I updated to ansible 1.5.3 and now i am not able to run my ruby scripts using “local\_action” and “command” module.

It was running perfectly fine with ansible 1.4.3.

TASK: [Checking elb stat] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\<127.0.0.1\> REMOTE\_MODULE command elbinfo   
\<127.0.0.1\> EXEC [‘/bin/sh’, ‘-c’, ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730 && echo $HOME/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730’]  
\<127.0.0.1\> PUT /tmp/tmpy2zz36 TO /home/rraithatha/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730/command  
\<127.0.0.1\> EXEC /bin/sh -c ‘sudo -k && sudo -H -S -p “[sudo via ansible, key=vfiumfikpikyuljbzbgxrdrjdzxoijrn] password: " -u root /bin/sh -c '”’“‘echo SUDO-SUCCESS-vfiumfikpikyuljbzbgxrdrjdzxoijrn; /usr/bin/python /home/rraithatha/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730/command; rm -rf /home/rraithatha/.ansible/tmp/ansible-tmp-1397031693.38-187319712535730/ \>/dev/null 2\>&1’”‘"’’  
changed: [] =\> {“changed”: true, “cmd”: [“elbinfo”, “”], “delta”: “0:00:02.135619”, “end”: “2014-04-09 08:21:35.645198”, “item”: “”, “rc”: 0, “start”: “2014-04-09 08:21:33.509579”, “stderr”: “”, **“stdout”: “”** }

Thanks,  
Ramesh

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [April 11, 2014, 2:36am UTC](https://forum.ansible.com/t/ansible-1-5-3-not-running-ruby-scripts/14976/2 "2014-04-11T02:36:05Z")

</div>

I’m guessing that the issue is there’s no stdout? See if using the shell module instead of the command module, makes it work.
