File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ cp apt_inst.cpython-37m-x86_64-linux-gnu.so apt_inst.so
59
59
rm -rf /tmp/python3-apt
60
60
# Install splunk-ansible dependencies
61
61
cd /
62
- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
62
+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
63
63
# Remove tests packaged in python libs
64
64
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 ' {}' \;
65
65
find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
Original file line number Diff line number Diff line change @@ -48,17 +48,17 @@ ln -sf /usr/bin/python${PY_SHORT} /usr/bin/python
48
48
ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip
49
49
# For ansible apt module
50
50
cd /tmp
51
- apt-get download python3-apt=1.4.2
52
- dpkg -x python3-apt_1.4.2_amd64 .deb python3-apt
53
- rm python3-apt_1.4.2_amd64 .deb
51
+ apt-get download python3-apt=1.4.3
52
+ dpkg -x python3-apt_1.4.3_amd64 .deb python3-apt
53
+ rm python3-apt_1.4.3_amd64 .deb
54
54
cp -r /tmp/python3-apt/usr/lib/python3/dist-packages/* /usr/lib/python${PY_SHORT} /site-packages/
55
55
cd /usr/lib/python${PY_SHORT} /site-packages/
56
56
cp apt_pkg.cpython-35m-x86_64-linux-gnu.so apt_pkg.so
57
57
cp apt_inst.cpython-35m-x86_64-linux-gnu.so apt_inst.so
58
58
rm -rf /tmp/python3-apt
59
59
# Install splunk-ansible dependencies
60
60
cd /
61
- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
61
+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
62
62
# Remove tests packaged in python libs
63
63
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 ' {}' \;
64
64
find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ln -sf /usr/bin/python${PY_SHORT} /usr/bin/python
45
45
ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip
46
46
# Install splunk-ansible dependencies
47
47
cd /
48
- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
48
+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
49
49
# Remove tests packaged in python libs
50
50
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 ' {}' \;
51
51
find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
You can’t perform that action at this time.
0 commit comments