标签:serve ansible path hosts pattern contains ebs etc 用例
寻找/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 ‘
标签:serve ansible path hosts pattern contains ebs etc 用例
原文地址:https://www.cnblogs.com/hixiaowei/p/9203053.html