Hi all,
I get the error below when I use no_log: True
to hide secrets from logs.
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
- 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