mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Don't ignore ANSIBLE_NET env items when hiding sensitive information
This commit is contained in:
parent
5f0940e411
commit
89304b2ee0
@ -459,7 +459,7 @@ class BaseTask(Task):
|
||||
for k,v in env.items():
|
||||
if k in ('REST_API_URL', 'AWS_ACCESS_KEY', 'AWS_ACCESS_KEY_ID'):
|
||||
continue
|
||||
elif k.startswith('ANSIBLE_'):
|
||||
elif k.startswith('ANSIBLE_') and not k.startswith('ANSIBLE_NET'):
|
||||
continue
|
||||
elif hidden_re.search(k):
|
||||
env[k] = HIDDEN_PASSWORD
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user