1.2 ansible取付と基本使用

1032 ワード

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