# How to disable registration of stdr output in ansible

**URL:** <https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27962>\
**Category:** Ansible Project\
**Created:** [July 5, 2018, 5:23pm UTC](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27962 "2018-07-05T17:23:05Z")\
**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 5, 2018, 5:23pm UTC](https://forum.ansible.com/t/how-to-disable-registration-of-stdr-output-in-ansible/27962/1 "2018-07-05T17:23:05Z")

</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)
