freeipa 无法通过 ansible 获取CA证书错误

freeipa 无法通过 ansible 获取CA证书错误

我正在尝试通过以下方式安装我的 freeipa 副本服务器ansible 角色我有这个错误:


  File "/usr/lib/python2.7/site-packages/ipaclient/install/client.py", line 1858, in get_ca_certs
    message=u"HTTP "
fatal: [freeipa-r3]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "admin_keytab": null,
            "basedn": "dc=example,dc=local",
            "ca_cert_file": null,
            "debug": null,
            "domain": "example.local",
            "force_join": true,
            "hostname": "freeipa-r3.example.local",
            "kdc": "freeipa-m1",
            "keytab": null,
            "kinit_attempts": 5,
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "principal": "admin",
            "realm": "EXAMPLE.LOCAL",
            "servers": [
                "freeipa-m1"
            ]
        }
    },
    "msg": "Cannot obtain CA certificate\nHTTP certificate download requires --force"
}

我尝试在库存文件中添加“ipaclient_force_join = yes”选项,如文档中所述,但不确定我需要做什么。

相关内容