ansible——實施任務控制

目錄 1. 編寫循環和條件任務 2. 條件任務語法 3. 練習 1. 編寫循環和條件任務 在playbook中使用循環,直接用loop關鍵字便可,有多種使用方法; 簡單循環:web --- - name: test hosts: rhel8_no1.test.com tasks: - name: apache and vsftpd is running service
相關文章
相關標籤/搜索