报错:
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
with_items:
- {{ foo }}
Should be written as:
with_items:
- "{{ foo }}"
出现原因是因为:playbook中调用变量书写错误
变量{{}}作为开头,需要双引号
例如:
修改完成后,就可以执行成功了