Skip to content

Commit a508347

Browse files
Merge pull request #719 from splunk/remove-netbox-10.x
remove netbox ansible collection
2 parents 54437cb + e98ce5f commit a508347

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

base/redhat-8/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip3
6868
cd /
6969
/usr/bin/python3.9 -m pip install --upgrade pip
7070
pip -q --no-cache-dir install --upgrade requests_unixsocket requests six wheel Mako "urllib3<2.0.0" certifi jmespath future avro cryptography lxml protobuf setuptools ansible
71+
rm -rf /usr/lib/python3.9/site-packages/ansible_collections/netbox/
7172

7273
# Remove tests packaged in python libs
7374
find /usr/lib/ -depth \( -type d -a -not -wholename '*/ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf '{}' \;

base/redhat-9/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip3
6666
cd /
6767
/usr/bin/python3.9 -m pip install --upgrade pip
6868
pip -q --no-cache-dir install --upgrade requests_unixsocket requests six wheel Mako urllib3 certifi jmespath future avro cryptography lxml protobuf setuptools ansible
69+
rm -rf /usr/lib/python3.9/site-packages/ansible_collections/netbox/
6970

7071
# Remove tests packaged in python libs
7172
find /usr/lib/ -depth \( -type d -a -not -wholename '*/ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf '{}' \;

0 commit comments

Comments
 (0)