Don't match passive_interface for validate-modules (#73880)
This is a follow up to: https://github.com/ansible/ansible/pull/73508 To avoid adding no_log statements to passive_interface args. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
7c0af58449
commit
9ec4e08534
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ REJECTLIST_DIRS = frozenset(('.git', 'test', '.github', '.idea'))
|
|||
INDENT_REGEX = re.compile(r'([\t]*)')
|
||||
TYPE_REGEX = re.compile(r'.*(if|or)(\s+[^"\']*|\s+)(?<!_)(?<!str\()type\([^)].*')
|
||||
SYS_EXIT_REGEX = re.compile(r'[^#]*sys.exit\s*\(.*')
|
||||
NO_LOG_REGEX = re.compile(r'(?:pass(?:[-_\s]?(?:word|phrase|wrd|wd)?)|secret|token|key)', re.I)
|
||||
NO_LOG_REGEX = re.compile(r'(?:pass(?!ive)|secret|token|key)', re.I)
|
||||
|
||||
|
||||
REJECTLIST_IMPORTS = {
|
||||
|
|
Loading…
Reference in a new issue