ansible安装

centos安装:

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
yum install -y ansible
ansible --version

ubuntu安装:

apt install software-properties-common
add-apt-repository --yes --update ppa:ansible/ansible   
apt install ansible
posted @ 2025-07-27 01:26  阿峰博客站  阅读(11)  评论(0)    收藏  举报