2

我正在GCP RHEL8 虚拟机上运行 kubespray - https://github.com/kubernetes-sigs/kubespray/ 。

当我执行我的 ansible-notebook 时,[bootstrap-os : Enable RHEL 8 repos] 任务中的每个 VM 都会遇到以下问题。

fatal: [node3]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "name": [
                "rhel-8-for-*-baseos-rpms",
                "rhel-8-for-*-appstream-rpms"
            ],
            "purge": false,
            "state": "enabled"
        }
    },
    "msg": "The executable file subscription-manager was not found in PATH"
}

我需要向虚拟机添加一些配置吗?

4

0 回答 0