外部传入变量值
---
- hosts: testB
remote_user: root
tasks:
- name: "Passing Variables On The Command Line"
debug:
msg: "{
{pass_var}}"
不给值会报错
只会输出被引用的变量值
---
- hosts: testB
remote_user: root
tasks:
- name: "Passing Variables On The Command Line"
debug:
msg: "{
{num_var}}"
</