今天部署ansible的时候出了问题:
ERROR! the field ‘hosts’ is required but was not set
原来是yml文件编写错误,原playbook如下:
修改后如下:
ansible报错ERROR! the field ‘hosts‘ is required but was not set
最新推荐文章于 2023-06-07 09:56:50 发布
今天部署ansible的时候出了问题:
ERROR! the field ‘hosts’ is required but was not set
原来是yml文件编写错误,原playbook如下:
修改后如下: