ansible(四)常用模塊(fetch,copy,file)之文件操作

模塊基本用法 列出ansible所支持的模塊 ansible-doc -| 查看模塊的詳細幫助信息,比如查看fetch模塊的幫助 ansible-doc -s fetch 調用模塊,比如調用ping模塊 ansible all -m ping 調用模塊的同時傳入模塊所需要的參數,以fetch模塊爲例 ansible 172.25.0.2 -m fetch -a 「src=/etc/fstab de
相關文章
相關標籤/搜索