龙蜥8.8下载ansible 遇到的坑

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了

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值