您需要在debug语句中使用with_dict和var =:
- tasks:
- name: build web node
nova_compute:
arguments: xyz
register: os_web_node
- debug: var={{ item }}
with_dict: os_web_node
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
19690 次 |
| 最近记录: |