# How to disable registration of stdr output in ansible

**URL:** <https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27968>\
**Category:** Ansible Developer\
**Created:** [July 6, 2018, 5:38am UTC](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27968 "2018-07-06T05:38:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imthi\_Official](https://avatars.discourse-cdn.com/v4/letter/i/ee59a6/32.png) [@Imthi\_Official](https://forum.ansible.com/u/Imthi_Official)\
**Post date:** [July 6, 2018, 5:38am UTC](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27968/1 "2018-07-06T05:38:18Z")

</div>

Hi,  
I have developed a custom module for ansible using python pycurl lib. Instead of registering the returned response. The stdr output is being registered. Could anyone help me on this.

[https://stackoverflow.com/questions/51194661/cannot-register-a-variable-in-ansible-since-command-output-is-registered-already](https://stackoverflow.com/questions/51194661/cannot-register-a-variable-in-ansible-since-command-output-is-registered-already)
