ansible初識(三)--ansible主機清單及基於key驗證的配置

一:ansible基本語法: [[email protected] ~]# ansible --help Usage: ansible [options] //ansible 主機ip 選項 實例演示: 注意:ping 此處的ping是模塊,測試管理端與被管理端連接狀況(並不等於ping命令),測試主控端與被控端連通性,被控端是否存在,若存在,則迴應「pong」 報錯原因: 此時會報錯是因爲在主機
相關文章
相關標籤/搜索