ansible - 如何从ansible中的嵌套列表中获取项目列表
问题描述
- set_fact:
cli_list:
- - first list
- - second list
- - third list
我期待这种格式的输出,如何在ansible中做到这一点?
cli_list:
- first list
- second list
- third list
解决方案
推荐阅读
- laravel - 我无法更新 laravel 5 中的字段
- c++ - `decltype((const int)a)` 和 `decltype((const int)1)` 的不同类型
- bash - 与单词边界不工作的bash中的多行字符串匹配
- ibm-cloud - 如何在 watson 对话中将动态输入与实体映射 (Bluemix)
- java - 代码在 Android Studio 中的某个时间会被还原几个小时或一整天
- python - 如何在 OpenCV 中将视频写入内存
- c - C中的通用数组元素交换
- postgresql - 如何使用不同的 PostgreSQL 实例进行生产测试
- ios - 使 UIViewController 成为 UITableViewCell 内的 UICollectionView 的代表
- node.js - 什么是 nodeJS 性能中的 I/O 缩放问题?