ERROR A malformed block was encountered while loading a block
作者:互联网
ERROR! A malformed block was encountered while loading a block
[root@ansible test]# ansible-playbook -C roles_redis.yml -i hosts
ERROR! A malformed block was encountered while loading a block
原因:
写main 文件的时候 include 后面没有加 :
- include add_group.yml
解决:
空格格式问题一定要注意,规范很严格
- include: add_group.yml
标签:loading,encountered,malformed,include,was,block 来源: https://blog.csdn.net/qq_35078688/article/details/122429328