__netbox: remove ldap pip3 package if not required

This commit is contained in:
matze 2020-08-26 17:39:19 +02:00
parent 8ff7a4616d
commit eaf639790b
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ EOF
if [ -f "$__object/parameter/ldap-server" ]; then
echo "/opt/netbox/venv/bin/pip3 install django-auth-ldap"
else
echo "/opt/netbox/venv/bin/pip3 uninstall django-auth-ldap"
fi
cat << EOF