# Hiding Output for the Custom Module

**URL:** <https://forum.ansible.com/t/hiding-output-for-the-custom-module/13878>\
**Category:** Ansible Project\
**Created:** [November 10, 2013, 2:11am UTC](https://forum.ansible.com/t/hiding-output-for-the-custom-module/13878 "2013-11-10T02:11:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Post date:** [November 10, 2013, 2:11am UTC](https://forum.ansible.com/t/hiding-output-for-the-custom-module/13878/1 "2013-11-10T02:11:15Z")

</div>

I have written a custom module to define a bunch of variables. The module returns json with ansible\_facts, and everything works great.

tasks:

- local\_action: my\_custom\_module  
sudo: false

But I have one problem - the ansible\_facts include service ID’s and passwords - I don’t want this stuff to be output to the console.

How can I hide the console output for my custom module?
