[ansible-devel] ansible_failed_task logs private variables

2023-06-13 Thread Pinknes Einhorn
Hey all, I've been working with error handling during vmware deployment and noticed that Ansible seems to store cleartext passwords in the ansible_failed_tasks variable provided by rescue sections in blocks even tho they've been set to private. Not sure if this is a bug or intentional

Re: [ansible-devel] ansible_failed_task logs private variables

2023-06-13 Thread Brian Coca
There is no concept of 'private variables' in Ansible, we do have 'no_log' for module parameters (or at a task level, but this does not seem to be this case). The `no_log` at the module level will handle any returns or log data from the module, but does not affect any variables that had been fed