ansible正则
Basic Usage
ansible <pattern> -m <module_name> -a <arguments>
Some basic mode
All (full amount) match
Match all hosts, all
or the *
same number function, the following example
// 检测所有主机存活情况
ansible all -m ping
ansible "*" -m ping
ansible <pattern> -m <module_name> -a <arguments>
Match all hosts, all
or the *
same number function, the following example
// 检测所有主机存活情况
ansible all -m ping
ansible "*" -m ping