mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Don't ignore ANSIBLE_NET env items when hiding sensitive information
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user