bundles/netbox: fix ADMINS
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-08-21 12:46:55 +02:00
parent 5a499b9321
commit d94df613c5
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -32,7 +32,7 @@ REDIS = {
SECRET_KEY = '${repo.vault.password_for('django secret netbox ' + node.name, length=50)}'
ADMINS = [
% for name, email in sorted(node.metadata.get('netbox/admins', {})):
% for name, email in sorted(node.metadata.get('netbox/admins', {}).items()):
['${name}', '${email}'],
% endfor
]