取出两组中的交集[root@CentOS6 auto]# ansible Login:\&Player -m ping 交集No hosts matched表示两个组中的所有主机[root@CentOS6 auto]# ansible Login:Player -m ping player_centos6.5-2 | success >> {
升级python并安装ansible
设置方法:#export HISTTIMEFORMAT="`whoami` | %F %T | "#echo 'export HISTTIMEFORMAT="`whoami` | %F %T | "' >> /etc/profile#. /etc/profile效果如下:# history ...... 1047 root | 2015-08-14 17
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号