I am trying to run a task with the no_log: true
attribute to keep password out of logs, but I am receiving "the output has been hidden due to the fact that 'no_log: true' was specified for this result' Failure.
Here is the task:
- name: set varible for secured vault password
set_fact:
secure_vault_password: "{{ secure_vault_password_string.stdout_lines[0] }}"
vault_password: ''
when: secure_vault_password == ''
no_log: true
I have tried commenting out the no_log line and also changing true to false but still my playbook is failing. Any idea please?