# FAILED! =\> {"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/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/39628>\
**Category:** Get Help\
**Tags:** windows, ubuntu\
**Created:** [January 15, 2025, 3:57pm UTC](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/39628 "2025-01-15T15:57:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyanga](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jyanga/32/8108_2.png) [@jyanga](https://forum.ansible.com/u/jyanga)\
**Post date:** [January 15, 2025, 3:57pm UTC](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/39628/1 "2025-01-15T15:57:48Z")

</div>

Hi all,

I get the error below when I use `no_log: True` to hide secrets from logs.

```auto
FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"

```

Here is excerpt of the task

```auto
 - name: "{{ ansible_os_family }}.yml - setup or replace environment variables"
   win_environment:
     level: "{{ item.varscope }}"
     name: "{{ item.varname }}"
     state: present
     value: "{{ item.varvalue }}"
   with_items: "{{ env_var }}"
   no_log: true

```

Here are some info regarding my configuration.  
ansible version: 2.10.9  
operating system of ansible workstation: Ubuntu 20.04.6 LTS  
operating system of test machine: Windows 2022

regards,  
j

---

<div class="post-metadata">

**Author:** ![kerb0t](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kerb0t/32/5579_2.png) [@kerb0t](https://forum.ansible.com/u/kerb0t)\
**Post date:** [January 15, 2025, 5:00pm UTC](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/39628/2 "2025-01-15T17:00:59Z")

</div>

That is the intent of no\_log… you would want this in the event that you are calling something through a variable that should not be in clear text.

Remove it from your playbook to have it not censored.

---

<div class="post-metadata">

**Author:** ![jyanga](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jyanga/32/8108_2.png) [@jyanga](https://forum.ansible.com/u/jyanga)\
**Post date:** [January 15, 2025, 6:19pm UTC](https://forum.ansible.com/t/failed-censored-the-output-has-been-hidden-due-to-the-fact-that-no-log-true-was-specified-for-this-result/39628/3 "2025-01-15T18:19:02Z")

</div>

Thank you @kerb0t

I removed it and saw that I had forgotten to merge the values for `env_var`

regards,  
j
