Redhat Ansible by Py3.8
================
Red Hat 8.1
Python 3.8
ansible-2.9.13
# Python 3.8
------------------
python38-3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64.rpm
python38-libs-3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64.rpm
python38-pip-19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-pip-wheel-19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-setuptools-41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-setuptools-wheel-41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch.rpm
## 下載來源
------------------
http://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig(python-3.8)
# Ansible
------------------
Jinja2-2.11.2-py2.py3-none-any.whl
MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
PyYAML-5.3.1.tar.gz
ansible-latest.tar.gz
cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl
pycparser-2.20-py2.py3-none-any.whl
python3.8
six-1.15.0-py2.py3-none-any.whl
## 下載來源
------------------
ansible-2.9.13.tar.gz
https://releases.ansible.com/ansible/ansible-latest.tar.gz
or
https://pypi.org/simple/ansible/
six-1.15.0-py2.py3-none-any.whl
https://pypi.org/simple/six/
pycparser-2.20-py2.py3-none-any.whl
https://pypi.org/simple/pycparser/
cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
https://pypi.org/simple/cffi/
cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl
https://pypi.org/simple/cryptography/
MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
https://pypi.org/simple/markupsafe/
Jinja2-2.11.2-py2.py3-none-any.whl
https://pypi.org/simple/jinja2/
PyYAML-5.3.1.tar.gz
https://pypi.org/simple/pyyaml/
# Instaill
------------------
#!/bin/bash
RPM_INSTALL_PATH=/install/python
echo ""
echo "-------Python install---------"
rpm -ivh $RPM_INSTALL_PATH/*.rpm
WHL_INSTALL_PATH=/install/ansible
echo ""
echo "-------Ansible install---------"
sudo pip3.8 install $WHL_INSTALL_PATH/six-1.15.0-py2.py3-none-any.whl
sudo pip3.8 install $WHL_INSTALL_PATH/pycparser-2.20-py2.py3-none-any.whl
sudo pip3.8 install $WHL_INSTALL_PATH/cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
sudo pip3.8 install $WHL_INSTALL_PATH/cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl
sudo pip3.8 install $WHL_INSTALL_PATH/MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
sudo pip3.8 install $WHL_INSTALL_PATH/Jinja2-2.11.2-py2.py3-none-any.whl
sudo pip3.8 install $WHL_INSTALL_PATH/PyYAML-5.3.1.tar.gz
sudo pip3.8 install $WHL_INSTALL_PATH/ansible-latest.tar.gz
留言
張貼留言