# "censored": "the output has been hidden due to the fact that 'no\_log: true' was specified for this result

**URL:** <https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975>\
**Category:** Ansible Project\
**Tags:** ubuntu, ansible-lint\
**Created:** [March 13, 2018, 3:36am UTC](https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975 "2018-03-13T03:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camilo\_Vieira](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@Camilo\_Vieira](https://forum.ansible.com/u/Camilo_Vieira)\
**Post date:** [March 13, 2018, 3:36am UTC](https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975/1 "2018-03-13T03:36:46Z")

</div>

Hi,

This is my environment:

# lsb\_release -a

No LSB modules are available.  
Distributor ID: Ubuntu  
Description: Ubuntu 16.04.2 LTS  
Release: 16.04  
Codename: xenial

# python --version

Python 2.7.12

# python3 --version

Python 3.5.2

# ansible --version

ansible 2.4.3.0  
config file = /etc/ansible/ansible.cfg  
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]  
ansible python module location = /usr/lib/python2.7/dist-packages/ansible  
executable location = /usr/bin/ansible  
python version = 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]

# molecule --version

molecule, version 2.10.1

I have receiving the following error:

# molecule test

→ Test matrix

└── default  
├── lint  
├── destroy  
├── dependency  
├── syntax  
├── create  
├── prepare  
├── converge  
├── idempotence  
├── side\_effect  
├── verify  
└── destroy

→ Scenario: ‘default’  
 → Action: ‘lint’  
 → Executing Yamllint on files found in /vagrant/roles/test/…  
Lint completed successfully.  
 → Executing Flake8 on files found in /vagrant/roles/test/molecule/default/tests/…  
Lint completed successfully.  
 → Executing Ansible Lint on /vagrant/roles/test/molecule/default/playbook.yml…  
Lint completed successfully.  
 → Scenario: ‘default’  
 → Action: ‘destroy’

PLAY [Destroy] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [Destroy molecule instance(s)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
changed: [localhost] =\> (item=None)

TASK [Wait for instance(s) deletion to complete] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
failed: [localhost] (item=None) =\> {“attempts”: 1, “censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=1 changed=1 unreachable=0 failed=1

ERROR:  
An error occured during the test sequence. Cleaning up.  
 → Scenario: ‘default’  
 → Action: ‘destroy’

PLAY [Destroy] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [Destroy molecule instance(s)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
changed: [localhost] =\> (item=None)

TASK [Wait for instance(s) deletion to complete] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
failed: [localhost] (item=None) =\> {“attempts”: 1, “censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”, “changed”: false}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=1 changed=1 unreachable=0 failed=1

ERROR:

Somebody could help me to fix it?

Thanks

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [March 14, 2018, 8:40pm UTC](https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975/2 "2018-03-14T20:40:38Z")

</div>

Sounds like you have _no\_log: yes_ set on your task which is blocking the output from being shown to you. If you remove that to debug the task you may be able to find out what is going on.

---

<div class="post-metadata">

**Author:** ![Morteza\_khaleghi](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@Morteza\_khaleghi](https://forum.ansible.com/u/Morteza_khaleghi)\
**Post date:** [August 10, 2019, 5:28am UTC](https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975/3 "2019-08-10T05:28:18Z")

</div>

Hi  
Did you solve the problem?  
I have the same problem.  
Thank you.

---

<div class="post-metadata">

**Author:** ![Zolvaring](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@Zolvaring](https://forum.ansible.com/u/Zolvaring)\
**Post date:** [August 15, 2019, 2:21am UTC](https://forum.ansible.com/t/censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/26975/4 "2019-08-15T02:21:39Z")

</div>

It looks like you’re using molecule with the Ansible provisioner. By default, the Ansible provisioner in Molecule does hides certain logs, but if you go to your `molecule.yml` file (in `<your_role>/molecule/<scenario_name>/molecule.yml`, in your example the name is ‘default’) you can configure it as such:

```auto
provisioner:
name: ansible
log: true

```

After that all log output related to creation/destruction should be visible in the console.
