-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail NoLogPassword only when loops are used (#1590)
Fair note has been made in #1589 regarding modules already marking password fields with `no_log`. However, when loop is used, passwords are still being exposed in case of task failure or running in debug. So we change logic of the check and fail it only when task has some iteration in it. Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
- Loading branch information
Showing
1 changed file
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters