目录
1.Ansible安装
1.1ansible软件安装
使用yum安装
yum install epel-release
yum install ansible -y
1.2配置免密
1.3文件位置
/etc/ansible
ansible.cfg hosts
1.4命令执行
ansible all -a "/bin/echo hello"
目录
使用yum安装
yum install epel-release
yum install ansible -y
/etc/ansible
ansible.cfg hosts
ansible all -a "/bin/echo hello"