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

修复原有PATH被覆盖问题 #177

Merged
merged 2 commits into from May 4, 2018
Merged

修复原有PATH被覆盖问题 #177

merged 2 commits into from May 4, 2018

Conversation

antergone
Copy link
Contributor

原playbook中的$PATH会被解析为现有环境变量,因此PATH=/root/local/bin:/usr/local/bin:...,机器重启之后,PATH就被写死了。

在清理的时候,也应该将生成的PATH删除。

@gjmzj
Copy link
Collaborator

gjmzj commented May 4, 2018

谢谢
后续可以把sed语句,改成标准的lineinfile模块实现

@gjmzj gjmzj merged commit e450fe3 into easzlab:master May 4, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants