Ansible 变量遍历:使用 with_items 实现两个任务同时处理
-
name: Task 1 debug: msg: '{{ item }}' with_items: '{{ ovn_upgrade_list }}'
-
name: Task 2 debug: msg: '{{ item }}' with_items: '{{ ovn_upgrade_list }}'
原文地址: https://www.cveoy.top/t/topic/lW9K 著作权归作者所有。请勿转载和采集!