Ansible
哪有天生的学霸,一切都是厚积薄发
天道酬勤,商道酬信,学道酬苦,业道酬精 ,人道酬诚。
展开
-
data could not be sent to remote host
1.在执行k8s 初始化的时候老是报错:data could not be sent to remote hostroot@master1:/etc/kubeasz# ./ezctl setup k8s-01 01ansible-playbook -i clusters/k8s-01/hosts -e @clusters/k8s-01/config.yml playbooks/01.prepare.yml2022-04-17 18:05:37 INFO cluster:k8s-01 setup st原创 2022-04-17 19:02:44 · 3723 阅读 · 0 评论 -
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 hostsERROR! A malformed block was encountered while loading a block原因:写main 文件的时候 include 后面没有加 :- include add_group.yml解决:空格格原创 2022-01-11 12:16:24 · 1388 阅读 · 0 评论