寻找/etc/ 名为"hosts" 递归查找
ansible webserver -m find -a ' path=/etc/ file_type=any recurse=yes pattern="hosts"'
/etc/下包含xiaowei的文件
ansible webserver -m find -a ' path=/etc/ contains='.*xiaowei.*' recurse=yes '
寻找/etc/ 名为"hosts" 递归查找
ansible webserver -m find -a ' path=/etc/ file_type=any recurse=yes pattern="hosts"'
/etc/下包含xiaowei的文件
ansible webserver -m find -a ' path=/etc/ contains='.*xiaowei.*' recurse=yes '