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

猜你喜欢

转载自www.cnblogs.com/xiaonq/p/12114632.html
1.2