安装部署Ansible
这里以RedHat8为例子
真机当作YUM源服务器
1.tar -xf /linux-soft/ansible_soft.tar.ga -C /var/ftp
2.dnf -y install createrepo
3.createrepo /var/ftp/ansible_soft/
2.虚机配置YUM源,安装软件
1.vim /etc/yum.repos.d/ansible.repo
2.[andible]
name=ansible
baseurl=ftp://192.168.4.254/ansible_soft/
gpgcheck=0
3. dnf -y install ansible

浙公网安备 33010602011771号