yml出错"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'"

"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'"          yml   文件内容有错误

 

yml出错"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'"

报错说明:yml文件没有取到IP地址,检查文档后,发现ipv4后边那一项没有IP号。yml出错"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'"

修改后,重新进行变量定位,成功~~