with_list

ansible 迭代with_item、with_list、with_dict、with_togther

ansible 迭代介绍: 执行一些重复性操作,比如指安装软件包,批量创建用户,操作某个目录下的所有文件等; 基本的循环: 1、列表字符串等的循环; 如: - name: with item test hosts: all tasks: - name: item 1 shell: echo {{it ......
共1篇  :1/1页 首页上一页1下一页尾页