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
上一篇:element 在弹框上loading加载


下一篇:HAL库开发问题