forked from ungleich-public/cdist-contrib
__netbox: remove ldap pip3 package if not required
This commit is contained in:
parent
8ff7a4616d
commit
eaf639790b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue