我正在尝试在我的 VPS 服务器上安装带有 kubespray 的 kubernetes。当我执行剧本时,我收到以下错误消息:
fatal: [k8s-m-1]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to xxx.xxx.xxx.xxx closed.\r\n", "stderr_lines": ["Shared connection to xxx.xxx.xxx.xxx closed."], "stdout": "Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked.\r\n", "stdout_lines": ["Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked."]}
fatal: [k8s-m-2]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to xxx.xxx.xxx.xxx closed.\r\n", "stderr_lines": ["Shared connection to xxx.xxx.xxx.xxx closed."], "stdout": "Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked.\r\n", "stdout_lines": ["Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked."]}
fatal: [k8s-n-1]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to xxx.xxx.xxx.xxx closed.\r\n", "stderr_lines": ["Shared connection to xxx.xxx.xxx.xxx closed."], "stdout": "Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked.\r\n", "stdout_lines": ["Failed to restart systemd-resolved.service: Unit systemd-resolved.service is masked."]}
我究竟做错了什么?