虚拟机增多,安装ansible
$ brew install ansible $ cat /etc/ansible/hosts [yunmao] 10.88.1.161 10.88.1.162 10.88.1.163 [ret] 172.16.3.6 172.16.3.9 $ ansible all -m ping -u root $ ansible all -u root -a "apt update"
http://www.ansible.com.cn/docs/intro.html
虚拟机增多,安装ansible
$ brew install ansible $ cat /etc/ansible/hosts [yunmao] 10.88.1.161 10.88.1.162 10.88.1.163 [ret] 172.16.3.6 172.16.3.9 $ ansible all -m ping -u root $ ansible all -u root -a "apt update"
http://www.ansible.com.cn/docs/intro.html