cat <<eof>>/etc/yum.repos.d/my.repo [epel] name=epel baseurl=http://mirrors.aliyun.com/epel/7Server/x86_64/ enable=1 gpgcheck=0 eofyum -y install ansible 安装ansible-doc -h
ansible 基本使用
原文:https://www.cnblogs.com/zaizai1573/p/10815407.html