ansible經常使用模塊(command、copy、file、yum、service、firewalld)

本篇博客的內容在上一篇博客ansible搭建的基礎上完成:自動化運維工具Ansible的搭建 1、Ansible的command默認模塊的簡單使用 一、在ansible1上執行html [devops@ansible1 ansible]$ ansible test -m command -a 'df -h' test指ansible中test組,-m後指定模塊 -a後加這個模塊的參數 注意:com
相關文章
相關標籤/搜索