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

浙公网安备 33010602011771号