1.2 ansible安装与基本使用

1.1 ansible安装

  1、使用yum安装

[root@linux-node4 ~]# yum -y install wget
[root@linux-node4 ~]# wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo     # 先安装阿里云的EPEL源
[root@linux-node4 ~]# yum install -y ansible

'''yum安装软件包提示Error Downloading Packages解决方法'''
yum clean all   # 1、清理本地yum缓存
yum list        # 2、查看软件包列表

 

 

 

 

 

 

 

 

 

 

 

111

posted @ 2019-12-29 12:16  不做大哥好多年  阅读(198)  评论(0编辑  收藏  举报