Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

清单文件建议加入python路径 #23

Open
cucy opened this issue Nov 21, 2024 · 2 comments
Open

清单文件建议加入python路径 #23

cucy opened this issue Nov 21, 2024 · 2 comments

Comments

@cucy
Copy link

cucy commented Nov 21, 2024

# 本组内填写etcd服务器及主机名(会校验是否以横杠分割),集群节点名称会截取主机名以横杠分割后两段

[all:vars]
ansible_python_interpreter=/usr/bin/python3

@kubeop
Copy link
Owner

kubeop commented Dec 2, 2024

可以根据自己的环境情况添加,有些人的环境默认没有/usr/bin/python3的,所以使用默认的自动识别更合适一点

@kubeop
Copy link
Owner

kubeop commented Dec 2, 2024

这个配置也建议添加到ansible.cfg配置文件中,如果路径识别遇到问题,应该也不仅仅是部署k8s节点有问题,可能连接非k8s节点操作也有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants