摘要: 迭代写法:with_items 迭代:当需要重复性执行的任务时,可以使用迭代机制 ·对迭代选项的引用,固定变量名为“item” ·要在task中使用with_items给定要迭代的元素列表 ·列表格式:字符串、浮点 使用字符串 - host: webservs remote_user: root t 阅读全文
posted @ 2019-11-06 21:49 caibutou 阅读(651) 评论(0) 推荐(0) 编辑