Tuesday 23 June 2020  04:07:41 -0400 (0:00:00.071)       0:22:14.014 ********** 
fatal: [ks-allinone]: FAILED! => {}

MSG:

The conditional check 'gen_node_certs[inventory_hostname] or (not etcdcert_node.results[0].stat.exists|default(false)) or (not etcdcert_node.results[1].stat.exists|default(false)) or (etcdcert_node.results[1].stat.checksum|default('') != etcdcert_master.files|selectattr("path", "equalto", etcdcert_node.results[1].stat.path)|map(attribute="checksum")|first|default(''))' failed. The error was: no test named 'equalto'

The error appears to be in '/root/kubesphere-all-v2.1.1/k8s/roles/etcd/tasks/check_certs.yml': line 57, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: "Check_certs | Set 'sync_certs' to true"
  ^ here


NO MORE HOSTS LEFT *******************************************************************************************************************************************************************************

PLAY RECAP ***************************************************************************************************************************************************************************************
ks-allinone                : ok=454  changed=68   unreachable=0    failed=1    skipped=377  rescued=0    ignored=2   
localhost                  : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0  

kubesphere all all in one 全量安装,报 ansible错误,该如何排查?

rio 你安装的机器是干净的吧?

这个应该是Jinja2版本低导致的

7 天 后