anolis os 8.8 安装ansible
结论 : ansible = ansibl-core(依赖) + ansible(软件)
anolis os 将 ansible 的所有依赖打包为 ansible-core , 包含:
如下巴拉巴拉 。。。。
ansible-core-2.12.2-4.an8_6.x86_64
emacs-filesystem-1:27.2-9.0.1.an8.noarch
git-2.43.5-1.0.1.an8.x86_64
git-core-2.43.5-1.0.1.an8.x86_64
git-core-doc-2.43.5-1.0.1.an8.noarch
perl-Error-1:0.17025-2.el8.noarch
perl-Git-2.43.5-1.0.1.an8.noarch
perl-TermReadKey-2.37-7.0.1.an8.x86_64
python38-3.8.17-2.0.1.module+an8.9.0+11141+8b2db726.x86_64
python38-asn1crypto-1.2.0-3.module+an8.7.0+10893+1f91bb30.noarch
python38-babel-2.7.0-11.module+an8.7.0+10893+1f91bb30.noarch
python38-cffi-1.13.2-3.module+an8.7.0+10893+1f91bb30.x86_64
python38-cryptography-2.8-3.module+an8.7.0+10893+1f91bb30.x86_64
python38-idna-2.8-6.module+an8.7.0+10893+1f91bb30.noarch
python38-jinja2-2.11.3-1.module+an8.8.0+11059+076a031d.noarch
python38-libs-3.8.17-2.0.1.module+an8.9.0+11141+8b2db726.x86_64
python38-markupsafe-1.1.1-6.module+an8.7.0+10893+1f91bb30.x86_64
python38-pip-19.3.1-7.module+an8.9.0+11141+8b2db726.noarch
python38-pip-wheel-19.3.1-7.module+an8.9.0+11141+8b2db726.noarch
python38-ply-3.11-10.module+an8.7.0+10893+1f91bb30.noarch
python38-pycparser-2.19-3.module+an8.7.0+10893+1f91bb30.noarch
python38-pytz-2019.3-4.module+an8.9.0+11141+8b2db726.noarch
python38-pyyaml-5.4.1-1.module+an8.7.0+10893+1f91bb30.x86_64
python38-resolvelib-0.5.4-5.an8.noarch
python38-setuptools-41.6.0-5.module+an8.7.0+10893+1f91bb30.noarch
python38-setuptools-wheel-41.6.0-5.module+an8.7.0+10893+1f91bb30.noarch
python38-six-1.12.0-10.module+an8.7.0+10893+1f91bb30.noarch
sshpass-1.09-4.0.1.an8.x86_64
因此,执行要下载 依赖 + ansible 即可
下载依赖:
wget https://mirrors.openanolis.cn/anolis/8.6/AppStream/x86_64/os/Packages/ansible-core-2.12.2-4.an8_6.x86_64.rpm
下载ansible
wget https://mirrors.openanolis.cn/anolis/8.6/AppStream/x86_64/os/Packages/ansible-test-2.12.2-4.an8_6.x86_64.rpm
安装:
dnf install ansible-core-2.12.2-4.an8_6.x86_64.rpm
dnf install ansible-test-2.12.2-4.an8_6.x86_64.rpm -y
检查:
[root@localhost tmp]# which ansible
/usr/bin/ansible
就ok了