ansible——实施任务控制

目录 1. 编写循环和条件任务 2. 条件任务语法 3. 练习 1. 编写循环和条件任务 在playbook中使用循环,直接用loop关键字便可,有多种使用方法; 简单循环:web --- - name: test hosts: rhel8_no1.test.com tasks: - name: apache and vsftpd is running service
相关文章
相关标签/搜索